diff --git a/roles/pvc/tasks/main.yml b/roles/pvc/tasks/main.yml index 0bdeb99..011e694 100644 --- a/roles/pvc/tasks/main.yml +++ b/roles/pvc/tasks/main.yml @@ -89,8 +89,7 @@ - name: set first node as primary coordinator on first install command: "pvc node primary --wait" run_once: yes - delegate_to: "{{ item }}" - loop: "{{ ansible_play_hosts[0] }}" + delegate_to: "{{ ansible_play_hosts[0] }}" when: newhost is defined and newhost tags: always