Fix bad delegate_to

This commit is contained in:
2023-08-30 15:06:52 -04:00
parent c13f922c7d
commit 15f013e74e

View File

@ -529,8 +529,7 @@
- name: set first node as primary coordinator
command: "pvc node primary --wait"
run_once: yes
delegate_to: "{{ item }}"
loop: "{{ ansible_play_hosts[0] }}"
delegate_to: "{{ ansible_play_hosts[0] }}"
- name: unset PVC maintenance mode
command: pvc cluster maintenance off