From 41758476c29e9101a8d52e0f2291aa30ce2e28f6 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Mon, 30 Jun 2025 15:39:04 -0400 Subject: [PATCH 1/4] Removing Ansible Lint for now. --- .../pr-ansible-config-deployment.yaml | 36 +++---------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/.gitea/workflows/pr-ansible-config-deployment.yaml b/.gitea/workflows/pr-ansible-config-deployment.yaml index 914b69e8..f07e5aa9 100644 --- a/.gitea/workflows/pr-ansible-config-deployment.yaml +++ b/.gitea/workflows/pr-ansible-config-deployment.yaml @@ -58,37 +58,9 @@ jobs: gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' notification_title: 'GITEA: PR Check' notification_message: 'PR Created 🎟️' - ansible-linting: - name: Ansible Lint - needs: [check-and-create-pr] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Gotify Notification - uses: eikendev/gotify-action@master - with: - gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' - gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Ansible Lint @ Rinoa' - notification_message: 'Starting Ansible Lint...' - - name: Run ansible-lint - uses: ansible/ansible-lint@main - with: - args: "" - setup_python: "true" - working_directory: "./ansible" - requirements_file: "collections/requirements.yml" - - name: Gotify Notification - uses: eikendev/gotify-action@master - with: - gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' - gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Ansible Lint @ Rinoa' - notification_message: 'Ansible Linting completed.' ansible-dry-run: - name: Ansible Playbook Dry Run - needs: [ansible-linting] + name: Ansible Dry Run + needs: [check-and-create-pr] runs-on: ubuntu-latest env: VAULT_ADDR: ${{ secrets.RINOA_VAULT_ADDR }} @@ -137,8 +109,8 @@ jobs: with: gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' - notification_title: 'GITEA: Ansible Playbook Dry Run @ Rinoa' - notification_message: 'Ansible Playbook dry run completed successfully.' + notification_title: 'GITEA: Ansible Dry Run @ Rinoa' + notification_message: 'Ansible dry run completed successfully.' pr-merge: name: PR Merge needs: [ansible-dry-run] -- 2.52.0 From 184b0313fa48a5033ccde37b6de8180130828f5f Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Mon, 30 Jun 2025 15:39:04 -0400 Subject: [PATCH 2/4] Updating Authelia config to whitelist Wizarr. --- ansible/app-configs/authelia/configuration.yml.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/app-configs/authelia/configuration.yml.j2 b/ansible/app-configs/authelia/configuration.yml.j2 index af7b018b..9068106c 100644 --- a/ansible/app-configs/authelia/configuration.yml.j2 +++ b/ansible/app-configs/authelia/configuration.yml.j2 @@ -102,6 +102,14 @@ access_control: policy: one_factor subject: - ['user:the.trezured.one'] + - domain: wizarr.trez.wtf + resources: + - '^/join(/.*)?$' + - '^/j(/.*)?$' + - '^/static(/.*)?$' + - '^/setup(/.*)?$' + - '^/wizard(/.*)?$' + policy: bypass session: name: authelia_session secret: '{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['AUTHELIA_SESSION_SECRET'] }}' -- 2.52.0 From a0cbd655ac813f915c71f54b3cd79ea39f43869d Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Mon, 30 Jun 2025 15:39:04 -0400 Subject: [PATCH 3/4] Layout change for Servarr Stack. --- ansible/app-configs/homepage/settings.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/app-configs/homepage/settings.yaml.j2 b/ansible/app-configs/homepage/settings.yaml.j2 index ea404904..6aae3450 100644 --- a/ansible/app-configs/homepage/settings.yaml.j2 +++ b/ansible/app-configs/homepage/settings.yaml.j2 @@ -50,7 +50,7 @@ layout: columns: 4 Servarr Stack: style: row - columns: 3 + columns: 5 Downloaders: style: row columns: 5 -- 2.52.0 From fc566d11825159e50c951ba69234de9efd802918 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Mon, 30 Jun 2025 15:54:42 -0400 Subject: [PATCH 4/4] Reducing verbosity in Ansible dry run. --- .gitea/workflows/pr-ansible-config-deployment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/pr-ansible-config-deployment.yaml b/.gitea/workflows/pr-ansible-config-deployment.yaml index f07e5aa9..7041e717 100644 --- a/.gitea/workflows/pr-ansible-config-deployment.yaml +++ b/.gitea/workflows/pr-ansible-config-deployment.yaml @@ -103,7 +103,6 @@ jobs: options: | --check --inventory inventory/hosts.yml - -v - name: Gotify Notification uses: eikendev/gotify-action@master with: -- 2.52.0