refactor(auth): remove Authentik SSO, restore basic auth and provision Node Exporter dashboard
ansible-core-mon / deploy (push) Successful in 25s
ansible-core-net / deploy (push) Failing after 25s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 5s
ansible-rus-central / deploy (push) Successful in 37s

This commit is contained in:
karpenok committed 2026-11-11 17:45:21 +07:00
1 parent 94a143623b
commit c0a9d7f0c8
16 files changed
+15726 -263

No files matched your search

+10 -1
View File
@@ -46,6 +46,15 @@
group: root
mode: "0644"
- name: Установить конфигурацию Traefik Dashboard с BasicAuth
ansible.builtin.template:
src: dynamic/dashboard.yml.j2
dest: "{{ traefik_dynamic_dir }}/dashboard.yml"
owner: root
group: root
mode: "0644"
when: traefik_dashboard_auth is defined and traefik_dashboard_auth | length > 0
- name: Найти существующие файлы маршрутов на сервере
ansible.builtin.find:
paths: "{{ traefik_dynamic_dir }}"
@@ -58,7 +67,7 @@
state: absent
loop: "{{ remote_dynamic_files.files }}"
vars:
repo_files: "{{ q('fileglob', role_path ~ '/files/dynamic/*.yml') | map('basename') | list }}"
repo_files: "{{ (q('fileglob', role_path ~ '/files/dynamic/*.yml') | map('basename') | list) + ['dashboard.yml'] }}"
when: item.path | basename not in repo_files
- name: Запустить Traefik через Docker Compose