mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
add directory back for downloads
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
694157c2be
commit
c80f5071c2
@@ -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" }
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user