Staging Koji hub should not mount NFS on itself
This commit is contained in:
parent
117070e183
commit
41321e5ad2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue