cleanup /tmp/rh-storage-repo so newer repos are actually installed

pull/734/head
Ben England 2016-04-26 13:01:01 -04:00
parent f3d98a64f9
commit f3355b9b5e
1 changed files with 3 additions and 0 deletions

View File

@ -412,6 +412,9 @@
when:
ansible_pkg_mgr == 'dnf'
- name: purge RPM cache in /tmp
file: path=/tmp/rh-storage-repo state=absent
- name: clean apt
shell: apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
when: