copr-dist-git.conf added to httpd configs and dist-git confs previously in httpd dir moved under httpd/dist-git/

This commit is contained in:
clime 2016-03-14 18:19:45 +01:00 committed by Miroslav Suchý
parent f1d26dda17
commit f29a738caf
5 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,6 @@
Alias /per-task-logs /var/lib/copr-dist-git/per-task-logs
<Directory /var/lib/copr-dist-git/per-task-logs>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

View file

@ -65,7 +65,7 @@
- command: 'git config --global user.name "Copr dist git"'
- name: install httpd config to serve lookaside and smart-git
copy: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/dist-git/{{ item }}"
copy: src="httpd/dist-git/{{ item }}" dest="/etc/httpd/conf.d/dist-git/{{ item }}"
with_items:
- lookaside.conf
- lookaside-copr.conf
@ -75,6 +75,17 @@
notify:
- reload httpd
- name: install copr-dist-git httpd config
copy: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/{{ item }}"
with_items:
- copr-dist-git.conf
tags:
- config
notify:
- reload httpd
- copy: src="dist-git.conf" dest="/etc/dist-git/dist-git.conf" mode=0644
tags:
- config