helps to remove the right file

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-09-07 21:25:11 +00:00
parent f7564ee7e9
commit 3e6aa4790a

View file

@ -388,7 +388,7 @@
- name: remove old hardlink to /etc/osbs/buildroot/atomic-reactor.tar.gz
file:
path: /usr/share/atomic-reactor/atomic-reactor.tar.gz
path: /etc/osbs/buildroot/atomic-reactor.tar.gz
state: absent
when: etc_ar_stat.stat.exists and usr_ar_stat.stat.checksum != etc_ar_stat.stat.checksum