* fix: ansible dir should only exist for k3s and k0s Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: rename partial files Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
18 lines
402 B
YAML
18 lines
402 B
YAML
#% if bootstrap_distribution == 'k3s' or bootstrap_distribution == 'k0s' %#
|
|
---
|
|
- name: Reboot
|
|
hosts: kubernetes
|
|
become: true
|
|
gather_facts: true
|
|
any_errors_fatal: true
|
|
pre_tasks:
|
|
- name: Pausing for 5 seconds...
|
|
ansible.builtin.pause:
|
|
seconds: 5
|
|
tasks:
|
|
- name: Reboot
|
|
ansible.builtin.reboot:
|
|
msg: Rebooting nodes
|
|
reboot_timeout: 3600
|
|
#% endif %#
|