Staging Koji hub should not mount NFS on itself

This commit is contained in:
Mikolaj Izdebski 2018-03-03 03:44:02 +00:00
parent 117070e183
commit 41321e5ad2

View file

@ -108,7 +108,7 @@
passno=0
dump=0
state=mounted
when: env == 'staging' and 'koji' in mnt_dir and '.s390.' not in inventory_hostname
when: env == 'staging' and 'koji' in mnt_dir and '.s390.' not in inventory_hostname and not inventory_hostname.startswith('koji')
tags:
- nfs/client
@ -121,6 +121,6 @@
passno=0
dump=0
state=mounted
when: env == 'staging' and 'koji' in mnt_dir
when: env == 'staging' and 'koji' in mnt_dir and '.s390.' not in inventory_hostname
tags:
- nfs/client