From 6caca84af34b2645bf6e2fcfc33a426a11adf460 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 5 Dec 2020 12:29:36 -0800 Subject: [PATCH] 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 --- playbooks/groups/buildvm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/groups/buildvm.yml b/playbooks/groups/buildvm.yml index 1e7bd36f7e..de8835cdf0 100644 --- a/playbooks/groups/buildvm.yml +++ b/playbooks/groups/buildvm.yml @@ -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