feat(secrets): integrate Infisical Universal Auth into Gitea Actions workflows
- 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:
1 parent
efc23dfac2
commit
d2888c1149
14 files changed
+124
-70
No files matched your search
@@ -33,8 +33,6 @@
|
||||
- "{{ secrets_dir }}"
|
||||
- "{{ vaultwarden_data_dir }}"
|
||||
- "{{ infisical_data_dir }}"
|
||||
- "{{ infisical_data_dir }}/db"
|
||||
- "{{ infisical_data_dir }}/redis"
|
||||
|
||||
- name: Установить compose.yaml для core-secrets
|
||||
ansible.builtin.template:
|
||||
@@ -45,6 +43,6 @@
|
||||
mode: "0640"
|
||||
|
||||
- name: Запустить сервисы core-secrets через Docker Compose
|
||||
ansible.builtin.command: docker compose -f {{ secrets_dir }}/compose.yaml up -d
|
||||
ansible.builtin.command: docker compose -f {{ secrets_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 or 'Pulled' 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"
|
||||
Reference in new issue
Block a user