download: adjust koji mount to allow odcs/eln images to work right
Right now odcs uses /mnt/koji for packages links, but uses /mnt/fedora_koji/koji for images. Adjusting this and adding a link in should fix it for both. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
9c1297a026
commit
81b2cd2e9c
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,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" or datacenter == "rdu", mnt_dir: '/srv/pub/archive', nfs_src_dir: 'fedora_ftp_archive' }
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/mnt/koji', nfs_src_dir: 'fedora_koji/koji/' } # needed for internal sync and odcs
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' } # needed for internal sync and odcs
|
||||
- { role: nfs/client, when: datacenter == "iad2", mnt_dir: '/mnt/odcs', nfs_src_dir: 'fedora_odcs' } # needed for internal sync
|
||||
- sudo
|
||||
|
||||
|
@ -73,6 +73,9 @@
|
|||
copy: src="{{ files }}/download/download-sync.cron.cc-rdu01" dest=/etc/cron.d/download-sync owner=root group=root mode=644
|
||||
when: inventory_hostname == 'download-cc-rdu01.fedoraproject.org'
|
||||
|
||||
- name: make a mnt/koji link
|
||||
file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue