Fix retrieve secrets on Ansible controller.
This commit is contained in:
parent
5590500a24
commit
d5fe8bc1ec
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user