Gluttony-Cluster/ansible/playbooks/reboot-machine.yaml

12 lines
258 B
YAML
Raw Normal View History

2024-11-02 23:11:50 +00:00
- name: Reboot machines
hosts: k3s_masters
become: yes
vars_files:
# Secrets
- ../secrets/gluttonycluster-credentials.yaml
# Generic configurations
- ../vars/k3s.yaml
tasks:
- name: Reboot the server
ansible.builtin.reboot: