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:
Kevin Fenzi 2020-12-05 12:29:36 -08:00
parent be84930444
commit 6caca84af3

View file

@ -28,6 +28,8 @@
nfs_src_dir: "{{ koji_hub_nfs }}",
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
- role: nfs/client
mnt_dir: '/mnt/koji/ostree'
@ -59,8 +61,6 @@
nfs_src_dir: 'fedora_ostree_content_stg/compose/ostree'
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
kt_location: /etc/kojid/kojid.keytab
service: compile