Adding additional reboot (optional) (#139)

* Create reboot.yml

* Create reboot.sh

* Updated the Playbook and Tasks Name

Co-authored-by: Techno Tim <timothystewart6@gmail.com>
This commit is contained in:
automationxpert
2022-11-06 11:24:29 +05:30
committed by GitHub
parent 6b37ba5e60
commit f892029fcf
2 changed files with 12 additions and 0 deletions

9
reboot.yml Normal file
View File

@@ -0,0 +1,9 @@
---
- name: Reboot k3s_cluster
hosts: k3s_cluster
gather_facts: yes
become: yes
tasks:
- name: Reboot the nodes (and Wait upto 5 mins max)
reboot:
reboot_timeout: 300