mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-11-14 10:15:24 +01:00
7cc70ad609
- Reboot playbook updated for HA testing - Small adjustment made after testing HA with playbook - Fix reset playbook failing in some cases 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:
|