buildvm: more re-ordering. fas-client before koji_builder
We need fas-client to get the groups used in koji_builder Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
be84930444
commit
6caca84af3
1 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,8 @@
|
||||||
nfs_src_dir: "{{ koji_hub_nfs }}",
|
nfs_src_dir: "{{ koji_hub_nfs }}",
|
||||||
when: "env == 'staging' or createrepo or 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')",
|
when: "env == 'staging' or createrepo or 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')",
|
||||||
}
|
}
|
||||||
|
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
||||||
|
- { role: sudo, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
||||||
- koji_builder
|
- koji_builder
|
||||||
- role: nfs/client
|
- role: nfs/client
|
||||||
mnt_dir: '/mnt/koji/ostree'
|
mnt_dir: '/mnt/koji/ostree'
|
||||||
|
@ -59,8 +61,6 @@
|
||||||
nfs_src_dir: 'fedora_ostree_content_stg/compose/ostree'
|
nfs_src_dir: 'fedora_ostree_content_stg/compose/ostree'
|
||||||
when: env == 'staging' and 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')
|
when: env == 'staging' and 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')
|
||||||
|
|
||||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
|
||||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
|
||||||
- role: keytab/service
|
- role: keytab/service
|
||||||
kt_location: /etc/kojid/kojid.keytab
|
kt_location: /etc/kojid/kojid.keytab
|
||||||
service: compile
|
service: compile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue