kubespray/roles/kubernetes/preinstall/tasks/pre-upgrade.yml

9 lines
194 B
YAML

---
- name: Stop if non systemd OS type
assert:
that: ansible_service_mgr == "systemd"
- name: Stop if obsolete CoreOS family fact value
assert:
that: ansible_os_family != "CoreOS"