Polish up those reboot playbooks
This commit is contained in:
parent
62b6a93b65
commit
004bc2a612
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- hosts: tags_pik8s-node,tags_pistorage,tags_pik8s-master
|
||||
- hosts: device_roles_pik8s-node,device_roles_pik8s-storage,device_roles_pik8s-master
|
||||
serial: 1
|
||||
tasks:
|
||||
- name: check for reboot-required
|
||||
@ -9,5 +9,5 @@
|
||||
register: s
|
||||
- name: reboot
|
||||
reboot: reboot_timeout=300
|
||||
when: s.stat.exists or reboot_force
|
||||
when: s.stat.exists
|
||||
become: yes
|
||||
|
@ -9,5 +9,5 @@
|
||||
register: s
|
||||
- name: reboot
|
||||
reboot: reboot_timeout=300
|
||||
when: s.stat.exists or reboot_force
|
||||
when: s.stat.exists
|
||||
become: yes
|
||||
|
Loading…
Reference in New Issue
Block a user