k3s-ansible/playbook/reboot.yml
Nicholas Malcolm df67c61ba5 Add HA option, change to yaml inventory, cleanup
- HA option for multiple server nodes using embedded etcd
- Switch to yaml inventory file for easier editing and combining vars
- Update to full ansible module names
- Change master/node names to server/agent
- Cleanup small linting errors
- Add reboot playbook which staggers reboot to keep HA cluster up
- Move playbooks to playbook directory

Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-11-08 10:23:56 -08:00

9 lines
142 B
YAML

---
- name: Reboot cluster
hosts: k3s_cluster
become: true
gather_facts: true
tasks:
- name: Reboot
ansible.builtin.reboot: