9 lines
196 B
YAML
9 lines
196 B
YAML
- name: clean yum history
|
|
become: true
|
|
ansible.builtin.shell: |-
|
|
set -e
|
|
yum --enablerepo=epel clean all
|
|
yum history new
|
|
truncate -c -s 0 /var/log/yum.log
|
|
changed_when: false
|