koji_builder: Of course when the pyc/pyo files do not exist we need to also not run the rest of the conditional.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2018-12-30 17:52:44 +00:00
parent f068e5a785
commit dd2008e098

View file

@ -126,7 +126,7 @@
- koji_builder
notify:
- restart kojid
when: Guestpy.stat.mtime > Guestpyc.stat.mtime or Guestpy.stat.mtime > Guestpyo.stat.mtime
when: Guestpyc.stat.mtime is defined and Guestpyo.stat.mtime is defined and Guestpy.stat.mtime > Guestpyc.stat.mtime or Guestpy.stat.mtime > Guestpyo.stat.mtime
- name: enable virtlogd service
service: name=virtlogd state=started enabled=yes