Fix bad delegate_to

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:30 -04:00
parent b88b79fa30
commit 5b98e03f5a
1 changed files with 1 additions and 2 deletions

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