14 lines
331 B
YAML
14 lines
331 B
YAML
---
|
|
- name: Upgrade all packages
|
|
ansible.builtin.package:
|
|
name: "*"
|
|
state: latest # noqa package-latest
|
|
async: 1000
|
|
listen: __packages_upgrade
|
|
when: packages_upgrade_enabled | bool
|
|
|
|
- name: Clean metadata cache
|
|
ansible.builtin.command: dnf clean metadata
|
|
changed_when: False
|
|
listen: __packages_clean_metadata
|