From d9839a8286628e7f49c77f2bc704c7967a4c708a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 9 Jun 2020 20:28:32 -0700 Subject: [PATCH] iad2: buildvm: adjust mounts for iad2 Signed-off-by: Kevin Fenzi --- playbooks/groups/buildvm.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/playbooks/groups/buildvm.yml b/playbooks/groups/buildvm.yml index 50097c715e..8f97304d0b 100644 --- a/playbooks/groups/buildvm.yml +++ b/playbooks/groups/buildvm.yml @@ -26,7 +26,7 @@ role: nfs/client, mnt_dir: "/mnt/fedora_koji", nfs_src_dir: "{{ koji_hub_nfs }}", - when: "env == 'staging' or createrepo", + when: "env == 'staging' or createrepo or 'runroot' in group_names", } - role: nfs/client mnt_dir: '/mnt/koji/ostree' @@ -38,16 +38,6 @@ nfs_src_dir: 'fedora-ostree-content/compose/ostree' when: env != 'staging' and 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x') - - role: nfs/client - mnt_dir: '/mnt/koji/ostree' - nfs_src_dir: 'fedora_ostree_content/ostree' - when: env != 'staging' and 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x') - - - role: nfs/client - mnt_dir: '/mnt/koji/compose/ostree' - nfs_src_dir: 'fedora_ostree_content/compose/ostree' - when: env != 'staging' and 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x') - - role: nfs/client mnt_dir: '/mnt/koji/ostree' nfs_src_dir: 'fedora-ostree-content-stg/ostree'