Setup some more things.

This commit is contained in:
Kevin Fenzi 2014-06-09 20:48:49 +00:00
parent 734dff3656
commit 78f9ddd663
3 changed files with 31 additions and 0 deletions

View file

@ -46,6 +46,7 @@
- include: "{{ tasks }}/sudo.yml"
- include: "{{ tasks }}/openvpn_client.yml"
when: env != "staging"
- include: "{{ tasks }}/apache.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"

View file

@ -0,0 +1,8 @@
Alias /meetbot /srv/web/meetbot
<Directory /srv/web/meetbot>
Options Indexes FollowSymLinks
SetHandler None
Order allow,deny
Allow from all
</Directory>

View file

@ -11,6 +11,25 @@
file: path={{ item }} state=directory owner=daemon
with_items:
- /var/lib/zodbot
- /var/lib/zodbot/conf
- /var/lib/zodbot/data
- /var/lib/zodbot/logs
- /srv/web
- /srv/web/meetbot
- /srv/web/meetbot/teams
when: env != "staging"
- name: creating usrabot log dir
file: path={{ item }} state=directory owner=daemon
with_items:
- /var/lib/ursabot
- /var/lib/ursabot/conf
- /var/lib/ursabot/data
- /var/lib/ursabot/logs
- /srv/web
- /srv/web/meetbot
- /srv/web/meetbot/teams
when: env == "staging"
- name: setup meetings_by_team script
copy: src=meetings_by_team.sh dest=/usr/local/bin/meetings_by_team.sh mode=755
@ -23,3 +42,6 @@
- name: hotfix - supybot plugin
copy: src=plugin.py dest=/usr/lib/python2.6/site-packages/supybot/plugins/Fedora/plugin.py mode=755 owner=root
- name: setup meetbot.conf apache config
copy: src=meetbot.conf dest=/etc/httpd/conf.d/meetbot.conf mode=644