Setup apache on the compose box
This commit is contained in:
parent
070d61ca94
commit
f2333139a7
2 changed files with 22 additions and 0 deletions
8
roles/releng/files/compose.conf
Normal file
8
roles/releng/files/compose.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
Alias /compose /srv/pungi/
|
||||
|
||||
|
||||
<Directory /srv/pungi/>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
|
@ -75,6 +75,7 @@
|
|||
- createrepo
|
||||
- pykickstart
|
||||
- pyliblzma
|
||||
- httpd
|
||||
|
||||
- name: /etc/koji/koji.conf
|
||||
action: copy src="{{ files }}//../roles/koji_builder/files/koji.conf" dest=/etc/koji.conf
|
||||
|
@ -123,3 +124,16 @@
|
|||
action: copy src="{{ private }}/files/sudo/ftpsync-sudo" dest=/etc/sudoers.d/ftpsync mode=0440
|
||||
tags:
|
||||
- configs
|
||||
|
||||
- name: install compose /etc/httpd/conf.d/compose.conf file
|
||||
copy: >
|
||||
src="compose.conf"
|
||||
dest="/etc/httpd/conf.d/compose.conf"
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
- config
|
||||
when: inventory_hostname.startswith('compose-x86-02')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue