Remove extra restarts on bootstrap
This commit is contained in:
parent
6908f7070c
commit
3680717daa
|
@ -64,28 +64,9 @@
|
||||||
- block:
|
- block:
|
||||||
- name: restart server on first install
|
- name: restart server on first install
|
||||||
reboot:
|
reboot:
|
||||||
post_reboot_delay: 30
|
post_reboot_delay: 60
|
||||||
reboot_timeout: 1800
|
reboot_timeout: 1800
|
||||||
|
|
||||||
- name: wait 90 seconds for system to stabilize
|
|
||||||
pause:
|
|
||||||
seconds: 90
|
|
||||||
become: no
|
|
||||||
connection: local
|
|
||||||
|
|
||||||
- name: restart pvcnoded on first install
|
|
||||||
service:
|
|
||||||
name: pvcnoded
|
|
||||||
state: restarted
|
|
||||||
throttle: 1
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|
||||||
- name: wait 30 seconds for system to stabilize
|
|
||||||
pause:
|
|
||||||
seconds: 30
|
|
||||||
become: no
|
|
||||||
connection: local
|
|
||||||
|
|
||||||
- name: set first node as primary coordinator on first install
|
- name: set first node as primary coordinator on first install
|
||||||
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
|
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
Loading…
Reference in New Issue