ansible-role-common/tasks/update.yml

9 lines
349 B
YAML

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