Fix retrieve secrets on Ansible controller.

This commit is contained in:
yohan 2024-10-27 23:33:30 +01:00
parent 5590500a24
commit d5fe8bc1ec

View File

@ -2,6 +2,10 @@
hosts: localhost
gather_facts: false
tasks:
- name: Include retrieve_secret_vars tasks
ansible.builtin.include_tasks:
file: "tasks/retrieve_secret_vars.yml"
- name: add target to temp inventory
ansible.builtin.add_host:
name: "{{ target_name }}"
@ -21,11 +25,6 @@
- name: Gather facts
ansible.builtin.setup:
- name: Include retrieve_secret_vars tasks
ansible.builtin.include_tasks:
file: "tasks/retrieve_secret_vars.yml"
delegate_to: localhost
- name: Include retrieve_secret_vars tasks
ansible.builtin.include_tasks:
file: "tasks/retrieve_secret_vars.yml"