Fix bad delegate_to
This commit is contained in:
parent
b88b79fa30
commit
5b98e03f5a
|
@ -529,8 +529,7 @@
|
||||||
- name: set first node as primary coordinator
|
- name: set first node as primary coordinator
|
||||||
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] }}"
|
|
||||||
|
|
||||||
- name: unset PVC maintenance mode
|
- name: unset PVC maintenance mode
|
||||||
command: pvc cluster maintenance off
|
command: pvc cluster maintenance off
|
||||||
|
|
Loading…
Reference in New Issue