ansible-role-common/tasks/update.yml

10 lines
330 B
YAML

---
# Common/Update: Install All Updates
- name: update - Update and upgrade all packages
ansible.builtin.include_tasks: "{{ item }}"
with_first_found:
- "update-{{ ansible_distribution }}.yml"
- "update-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
ignore_errors: true