Fix syntax issue that caused all buildvms to mount ppc nfs

This commit is contained in:
Kevin Fenzi 2016-04-09 19:07:37 +00:00
parent e3bfa80270
commit a2454ce461

View file

@ -24,19 +24,19 @@
- hosts - hosts
- apache - apache
- { role: nfs/client, - { role: nfs/client,
when: ( "'buildvm' in group_names" or "'buildppcle' in group_names" or "'buildppc' in group_names" ), when: ( 'buildvm' in group_names or 'buildppcle' in group_names or 'buildppc' in group_names ),
mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' } mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
- { role: nfs/client, - { role: nfs/client,
when: "'buildaarch64' in group_names" , when: ( 'buildaarch64' in group_names ) ,
mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_arm/data' } mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_arm/data' }
- { role: nfs/client, - { role: nfs/client,
when: ( "'buildvm-ppc64' in group_names" or "'buildvm-ppc64le' in group_names") , when: ( 'buildvm-ppc64' in group_names or 'buildvm-ppc64le' in group_names) ,
mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_ppc/data' } mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_ppc/data' }
- { role: nfs/client, - { role: nfs/client,
when: "'buildvm-s390' in group_names" , when: ( 'buildvm-s390' in group_names ),
mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_s390/data' } mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_s390/data' }
- { role: nfs/client, - { role: nfs/client,
when: "'buildvm-stg' in group_names", mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' } when: ( 'buildvm-stg' in group_names ), mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') } - { role: fas_client, when: not inventory_hostname.startswith('bkernel') }
- { role: sudo, when: not inventory_hostname.startswith('bkernel') } - { role: sudo, when: not inventory_hostname.startswith('bkernel') }
- koji_builder - koji_builder