ansible/roles/geoip-city-wsgi/proxy/tasks/main.yml

27 lines
712 B
YAML
Raw Normal View History

---
2014-12-17 19:33:50 +00:00
- name: Copy in the proxy conf
template: >
src=geoip-city-wsgi-proxy.conf
dest=/etc/httpd/conf.d/{{website}}/geoip-city-wsgi-proxy.conf
owner=root group=root mode=0644
notify:
- reload httpd
2014-12-17 19:33:50 +00:00
tags:
- geoip-city-wsgi
- geoip-city-wsgi/proxy
- name: Make a dir for our fancy about page. So chic!
2014-12-17 19:40:42 +00:00
file: dest=/srv/web/geoip state=directory mode=0775 owner=root group=root
2014-12-17 19:33:50 +00:00
tags:
- geoip-city-wsgi
- geoip-city-wsgi/proxy
- name: "Copy in the fancy about page stuff. It's like wsgi with geoip aioli"
copy: src={{item}} dest=/srv/web/geoip/{{item}} mode=0644 owner=root group=root
with_items:
- index.html
- globe.png
tags:
- geoip-city-wsgi
- geoip-city-wsgi/proxy