Fix bad calls to node primary

This commit is contained in:
2023-08-30 16:24:27 -04:00
parent b1a5dde9b0
commit 1134ce2517
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] }}"