mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-10-30 07:59:38 +01:00
5a12415b3c
Signed-off-by: Derek Nola <derek.nola@suse.com>
20 lines
369 B
YAML
20 lines
369 B
YAML
---
|
|
- name: Reboot cluster servers staggered
|
|
hosts: server
|
|
become: true
|
|
gather_facts: true
|
|
serial: 1
|
|
tasks:
|
|
- name: Reboot
|
|
ansible.builtin.reboot:
|
|
test_command: kubectl get nodes
|
|
|
|
- name: Reboot cluster agents staggered
|
|
hosts: agent
|
|
become: true
|
|
gather_facts: true
|
|
serial: 1
|
|
tasks:
|
|
- name: Reboot
|
|
ansible.builtin.reboot:
|