Export /mnt/koji/vol/ on staging Koji through HTTP

This commit is contained in:
Mikolaj Izdebski 2015-09-01 16:39:18 +02:00 committed by Ralph Bean
parent 804594625d
commit eb07c24d08
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,6 @@
Alias /vol "/mnt/koji/vol/"
<Directory "/mnt/koji/vol/">
Options Indexes FollowSymLinks
Require all granted
</Directory>

View file

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