Fix delegate_to
This commit is contained in:
parent
fb60093750
commit
6da9956811
|
@ -89,8 +89,7 @@
|
||||||
- name: set first node as primary coordinator on first install
|
- name: set first node as primary coordinator on first install
|
||||||
command: "pvc node primary --wait"
|
command: "pvc node primary --wait"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||||
loop: "{{ ansible_play_hosts[0] }}"
|
|
||||||
|
|
||||||
when: newhost is defined and newhost
|
when: newhost is defined and newhost
|
||||||
tags: always
|
tags: always
|
||||||
|
|
Loading…
Reference in New Issue