From c80f5071c217c7a8c6f5f735540b433bbdbedac7 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 24 Sep 2019 20:28:05 +0000 Subject: [PATCH] add directory back for downloads --- playbooks/groups/download.yml | 1 + roles/download/tasks/main.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/playbooks/groups/download.yml b/playbooks/groups/download.yml index 9cd4b9984e..5fc5c8a0b0 100644 --- a/playbooks/groups/download.yml +++ b/playbooks/groups/download.yml @@ -37,6 +37,7 @@ - download - rsyncd - { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' } + - { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/mnt/koji/compose', nfs_src_dir: 'fedora_koji/koji/compose' } # needed for internal sync - { role: nfs/client, when: datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' } - sudo - { role: openvpn/client, when: datacenter != "phx2" } diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index c90aec2495..d9c61469b5 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -16,6 +16,10 @@ - name: Create /srv/web directory file: path=/srv/web state=directory +## This is used by internal systems to get beta content +- name: Create /mnt/koji/compose directory + file: path=/mnt/koji/compose state=directory + - name: Set httpd_use_nfs seboolean seboolean: name=httpd_use_nfs state=yes persistent=yes