Remove extra restarts on bootstrap

This commit is contained in:
Joshua Boniface
2023-08-31 15:10:47 -04:00
parent 71905deba2
commit bd1b8a1e95

View File

@ -64,28 +64,9 @@
- block:
- name: restart server on first install
reboot:
post_reboot_delay: 30
post_reboot_delay: 60
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
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
run_once: yes