2022-02-12 13:36:51 +00:00
|
|
|
---
|
|
|
|
- name: Upgrade all packages
|
2024-02-18 19:30:22 +00:00
|
|
|
ansible.builtin.package:
|
2022-02-12 13:36:51 +00:00
|
|
|
name: "*"
|
2024-08-19 14:06:08 +00:00
|
|
|
state: latest # noqa package-latest
|
2022-02-12 13:36:51 +00:00
|
|
|
async: 1000
|
|
|
|
listen: __packages_upgrade
|
|
|
|
when: packages_upgrade_enabled | bool
|
|
|
|
tags:
|
|
|
|
- skip_ansible_later
|
2023-09-07 19:49:15 +00:00
|
|
|
|
|
|
|
- name: Clean metadata cache
|
2024-02-18 19:30:22 +00:00
|
|
|
ansible.builtin.command: dnf clean metadata
|
2024-08-19 14:06:08 +00:00
|
|
|
changed_when: False
|
2023-09-07 19:49:15 +00:00
|
|
|
listen: __packages_clean_metadata
|