Fix bad calls to node primary

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

View File

@ -533,7 +533,7 @@
connection: local
- name: set first node as primary coordinator
command: "pvc node primary --wait"
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
run_once: yes
delegate_to: "{{ ansible_play_hosts[0] }}"

View File

@ -87,7 +87,7 @@
connection: local
- name: set first node as primary coordinator on first install
command: "pvc node primary --wait"
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
run_once: yes
delegate_to: "{{ ansible_play_hosts[0] }}"