xoxys.packages/handlers/main.yml
Robert Kaussow b7357283e3
All checks were successful
continuous-integration/drone/push Build is passing
fix: add metadata cleanup handler
2023-09-07 21:49:15 +02:00

19 lines
358 B
YAML

---
- name: Upgrade all packages
package:
name: "*"
state: latest
async: 1000
listen: __packages_upgrade
when: packages_upgrade_enabled | bool
tags:
- skip_ansible_later
become: True
become_user: root
- name: Clean metadata cache
command: dnf clean metadata
listen: __packages_clean_metadata
become: True
become_user: root