Setup apache on the compose box

This commit is contained in:
Dennis Gilmore 2014-08-05 11:55:07 +00:00
parent 070d61ca94
commit f2333139a7
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,8 @@
Alias /compose /srv/pungi/
<Directory /srv/pungi/>
Order deny,allow
Allow from all
</Directory>

View file

@ -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')