Export /mnt/koji/vol/ on staging Koji through HTTP
This commit is contained in:
parent
804594625d
commit
eb07c24d08
2 changed files with 16 additions and 0 deletions
6
roles/koji_hub/files/kojiweb.conf.stg
Normal file
6
roles/koji_hub/files/kojiweb.conf.stg
Normal file
|
@ -0,0 +1,6 @@
|
|||
Alias /vol "/mnt/koji/vol/"
|
||||
|
||||
<Directory "/mnt/koji/vol/">
|
||||
Options Indexes FollowSymLinks
|
||||
Require all granted
|
||||
</Directory>
|
|
@ -209,6 +209,16 @@
|
|||
- koji_hub
|
||||
notify: restart httpd
|
||||
|
||||
- name: koji web staging config files
|
||||
copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=root
|
||||
with_items:
|
||||
- kojiweb.conf.stg
|
||||
tags:
|
||||
- config
|
||||
- koji_hub
|
||||
notify: restart httpd
|
||||
when: env == "staging"
|
||||
|
||||
- name: koji staging ssl config
|
||||
copy: src=koji-ssl.conf.stg dest=/etc/httpd/conf.d/ssl.conf
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue