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 <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-12-05 11:59:38 -08:00
parent 26828187da
commit be84930444

View file

@ -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