HA fixes and code tweaks

- 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>
This commit is contained in:
Nicholas Malcolm authored and Derek Nola committed 2023-11-08 10:23:56 -08:00
1 parent cd725780f5
commit 7cc70ad609
5 files changed
+38 -29

No files matched your search

+12 -2
View File
@@ -1,6 +1,16 @@
---
- name: Reboot cluster
hosts: k3s_cluster
- 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