From be84930444e5583b8a404da07bf44b84e8dee589 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 5 Dec 2020 11:59:38 -0800 Subject: [PATCH] koji_builder: try moving before nfs mounts that mount under /mnt/koji Right now the koji_builder role is the thing that sets a symlink from /mnt/koji to /mnt/fedora_koji/koji, since we have nfs clients now mounting under there the ansible nfs/client role makes the directoes and koji_builder can't make the symlink. So, move it before then and see if that fixes this issue. Signed-off-by: Kevin Fenzi --- playbooks/groups/buildvm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/groups/buildvm.yml b/playbooks/groups/buildvm.yml index 781a3be02e..1e7bd36f7e 100644 --- a/playbooks/groups/buildvm.yml +++ b/playbooks/groups/buildvm.yml @@ -28,6 +28,7 @@ nfs_src_dir: "{{ koji_hub_nfs }}", when: "env == 'staging' or createrepo or 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')", } + - koji_builder - role: nfs/client mnt_dir: '/mnt/koji/ostree' nfs_src_dir: 'fedora_ostree_content/ostree' @@ -60,7 +61,6 @@ - { 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: keytab/service kt_location: /etc/kojid/kojid.keytab service: compile