feat(secrets): integrate Infisical Universal Auth into Gitea Actions workflows
ansible-core-net / deploy (push) Failing after 4m59s
ansible-core-secrets / deploy (push) Failing after 1m50s

- Configure Infisical CLI authentication via INFISICAL_CLIENT_ID and INFISICAL_CLIENT_SECRET
- Fetch runner SSH keys and state tokens dynamically from /ci-cd
- Fetch Proxmox target endpoints and tokens dynamically from /proxmox/<TARGET>
- Remove plaintext secrets from Ansible core_secrets defaults
- Clean up obsolete files and add --remove-orphans to docker compose invocations
This commit is contained in:
karpenok committed 2026-11-10 11:58:44 +07:00
1 parent efc23dfac2
commit d2888c1149
14 files changed
+124 -70

No files matched your search

-1
View File
@@ -4,4 +4,3 @@ traefik_dir: "/opt/traefik"
traefik_dynamic_dir: "/opt/traefik/dynamic"
traefik_log_dir: "/var/log/traefik"
traefik_acme_email: "vvkarpenok@gmail.com"
traefik_dashboard_auth: 'karpenok:$apr1$dYhfMHp0$/xqbASu5jj55Ev058YImp.'
@@ -1,15 +0,0 @@
http:
routers:
test:
rule: "Host(`test.gunihome.ru`)"
entryPoints:
- websecure
service: test
tls:
certResolver: letsencrypt
services:
test:
loadBalancer:
servers:
- url: "http://192.168.1.228:8317"
+1 -1
View File
@@ -1,4 +1,4 @@
---
- name: Перезапустить Traefik
ansible.builtin.command: docker compose -f {{ traefik_dir }}/compose.yaml restart
ansible.builtin.command: docker compose -f {{ traefik_dir }}/compose.yaml up -d --force-recreate --remove-orphans
changed_when: true
+2 -2
View File
@@ -84,6 +84,6 @@
when: item.path | basename not in repo_files
- name: Запустить Traefik через Docker Compose
ansible.builtin.command: docker compose -f {{ traefik_dir }}/compose.yaml up -d
ansible.builtin.command: docker compose -f {{ traefik_dir }}/compose.yaml up -d --remove-orphans
register: compose_up
changed_when: "'Started' in compose_up.stdout or 'Running' in compose_up.stdout or 'Created' in compose_up.stdout"
changed_when: "'Started' in compose_up.stderr or 'Created' in compose_up.stderr or 'Recreated' in compose_up.stderr or 'Pulled' in compose_up.stderr"