fix delegation
This commit is contained in:
parent
a02b900d8c
commit
9f440eddfd
@ -17,9 +17,6 @@ corenetworks_dns_pip: "pip{{ ansible_python.version.major }}"
|
|||||||
|
|
||||||
corenetworks_dns_delegate_to: localhost
|
corenetworks_dns_delegate_to: localhost
|
||||||
|
|
||||||
# @ var corenetworks_dns_user:description: Has to be your ansible remote user.
|
|
||||||
corenetworks_dns_user: root
|
|
||||||
|
|
||||||
corenetworks_dns_python_packages:
|
corenetworks_dns_python_packages:
|
||||||
- corenetworks
|
- corenetworks
|
||||||
|
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
extra_args: --user
|
extra_args: --user
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ corenetworks_dns_python_packages }}"
|
loop: "{{ corenetworks_dns_python_packages }}"
|
||||||
become: True
|
delegate_to: "{{ corenetworks_dns_delegate_to }}"
|
||||||
become_user: "{{ corenetworks_dns_user }}"
|
|
||||||
|
|
||||||
- name: Obtain an API token
|
- name: Obtain an API token
|
||||||
corenetworks_token:
|
corenetworks_token:
|
||||||
|
Loading…
Reference in New Issue
Block a user