mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
download: mount fedora_odcs on download servers for easier internal sync
The fedora_odcs volume is available on odcs-frontend01, but it's easier for internal people to get it via dl servers since they already get some content there. So, we just mount it (ro) there so they can do so. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
- rsyncd
|
||||
- { role: nfs/client, when: datacenter == "iad2" or datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/mnt/koji/compose', nfs_src_dir: 'fedora_koji/koji/compose' } # needed for internal sync
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/srv/odcs', nfs_src_dir: 'fedora_odcs' } # needed for internal sync
|
||||
- sudo
|
||||
- { role: openvpn/client, when: vpn == True }
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Alias /pub /srv/pub
|
||||
Alias /odcs /srv/odcs
|
||||
|
||||
DocumentRoot /srv/web
|
||||
|
||||
@@ -17,6 +18,22 @@ DocumentRoot /srv/web
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /srv/odcs>
|
||||
HeaderName /HEADER.html
|
||||
ReadmeName /FOOTER.html
|
||||
Options Indexes FollowSymLinks
|
||||
<IfModule mod_authz_core.c>
|
||||
# Apache 2.4
|
||||
Require all granted
|
||||
IndexOptions NameWidth=* FancyIndexing
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
# Apache 2.2
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /srv/pub>
|
||||
HeaderName /HEADER.html
|
||||
ReadmeName /FOOTER.html
|
||||
|
||||
Reference in New Issue
Block a user