ansible-role-common/tasks/update.yml
2019-10-10 16:43:35 +02:00

12 lines
435 B
YAML

---
# 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"