ansible-role-common/tasks/update.yml

12 lines
435 B
YAML
Raw Normal View History

---
# Common/Update: Install All Updates
- debug:
msg: OS Family {{ override_os_family }} -> {{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}
- name: update - Update and upgrade all packages
include_tasks: "{{ item }}"
with_first_found:
- "update-{{ ansible_distribution }}.yml"
- "update-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"