need to protect against this being undefined on builders that are not doing createrepo jobs like arm01/02/04 and bkernel01/02

This commit is contained in:
Kevin Fenzi 2016-11-04 21:40:52 +00:00
parent 732a067ecc
commit e93844c2cd

View file

@ -172,7 +172,7 @@
- name: make a mnt/koji link
file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
when: koji_hub_nfs == "fedora_koji"
when: koji_hub_nfs is defined and koji_hub_nfs == "fedora_koji"
tags:
- koji_builder
@ -182,7 +182,7 @@
- name: make a mnt/koji link
file: state=link src=/mnt/fedora_koji dest=/mnt/koji
when: koji_hub_nfs != "fedora_koji"
when: koji_hub_nfs is defined and koji_hub_nfs != "fedora_koji"
tags:
- koji_builder