This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
omni-ansible/roles/packages/tasks/clean.yml
Ethan Paul 079e642b98 Add package installation and management role
Manages dracut patch, upgrades packages, and installs standard packages
2019-11-16 23:21:12 -05:00

8 lines
168 B
YAML

---
- name: Clean DNF cache
become: true
when: ansible_distribution == "Fedora" or ansible_distribution == "CentOS"
shell:
cmd: dnf clean all
warn: false