fix delegation

This commit is contained in:
Robert Kaussow 2020-05-13 12:08:31 +02:00
parent a02b900d8c
commit 9f440eddfd
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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: