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
|
||||
|
||||
# @ var corenetworks_dns_user:description: Has to be your ansible remote user.
|
||||
corenetworks_dns_user: root
|
||||
|
||||
corenetworks_dns_python_packages:
|
||||
- corenetworks
|
||||
|
||||
|
@ -6,8 +6,7 @@
|
||||
extra_args: --user
|
||||
state: present
|
||||
loop: "{{ corenetworks_dns_python_packages }}"
|
||||
become: True
|
||||
become_user: "{{ corenetworks_dns_user }}"
|
||||
delegate_to: "{{ corenetworks_dns_delegate_to }}"
|
||||
|
||||
- name: Obtain an API token
|
||||
corenetworks_token:
|
||||
|
Loading…
Reference in New Issue
Block a user