k3s-ansible/playbook/upgrade.yml
Derek Nola 1e633c5ad1
Rework Role Structure (#254)
* Add more defaults
* Rename roles, covert download to airgap role
* Remove unnecessary gather_facts

Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-11-16 12:03:07 -08: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