k3s-ansible/playbooks/upgrade.yml
Derek Nola 5a12415b3c
Rename playbook to playbooks for ansible collection support (#333)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2024-06-04 10:36:35 -07:00

17 lines
305 B
YAML

---
# Servers should be restarted sequientally to avoid etcd learner issues
# Agents have no such limitation
- name: Upgrade K3s Servers
hosts: server
become: true
serial: 1
roles:
- role: k3s_upgrade
- name: Upgrade K3s Agents
hosts: agent
become: true
roles:
- role: k3s_upgrade