try and clean up this condition so it works as expected

This commit is contained in:
Kevin Fenzi 2017-06-17 23:06:28 +00:00
parent c402b61386
commit 1554e47a10

View file

@ -41,10 +41,10 @@
host: "koji{{env_suffix}}.fedoraproject.org"
- role: loopabull/target
loopabull_role: koji
when: "env == 'staging' and inventory_hostname == 'composer.stg.phx2.fedoraproject.org'"
when: inventory_hostname == 'composer.stg.phx2.fedoraproject.org'
- role: loopabull/target
loopabull_role: ociimage
when: "env == 'staging' and inventory_hostname == 'composer.stg.phx2.fedoraproject.org'"
when: inventory_hostname == 'composer.stg.phx2.fedoraproject.org'
- { role: nfs/client, when: "'releng-stg' not in group_names", mnt_dir: '/mnt/fedora_koji', nfs_src_dir: "{{ koji_hub_nfs }}" }
- { role: nfs/client, when: "'releng-compose' in group_names", mnt_dir: '/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, when: "'releng-secondary' in group_names", mnt_dir: '/pub/fedora-secondary', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/fedora-secondary' }