Add Ansible linting and other stuff

This commit is contained in:
Greg Hellings
2022-05-05 08:17:48 -05:00
parent b99a738da0
commit 5aa52aeff0
22 changed files with 177 additions and 56 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
- name: clean yum history
become: true
shell: |-
ansible.builtin.shell: |-
set -e
yum --enablerepo=epel clean all
yum history new
truncate -c -s 0 /var/log/yum.log
changed_when: false