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:
parent
f1d26dda17
commit
f29a738caf
5 changed files with 18 additions and 1 deletions
6
roles/copr/dist_git/files/httpd/copr-dist-git.conf
Normal file
6
roles/copr/dist_git/files/httpd/copr-dist-git.conf
Normal 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>
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue