xoxys.packages/handlers/main.yml

14 lines
331 B
YAML
Raw Permalink Normal View History

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: "*"
state: latest # noqa package-latest
2022-02-12 13:36:51 +00:00
async: 1000
listen: __packages_upgrade
when: packages_upgrade_enabled | bool
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
changed_when: False
2023-09-07 19:49:15 +00:00
listen: __packages_clean_metadata