add directory back for downloads

This commit is contained in:
Stephen Smoogen 2019-09-24 20:28:05 +00:00 committed by Pierre-Yves Chibon
parent 694157c2be
commit c80f5071c2
2 changed files with 5 additions and 0 deletions

View file

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

View file

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