ansible/roles/easyfix/proxy/tasks/main.yml
Patrick Uiterwijk 08568865fe Replace all restart httpd with reload httpd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-11-04 23:40:01 +00:00

25 lines
628 B
YAML

- name: Ensure dir for content exists
file: dest=/srv/web/gather-easyfix owner=root group=root mode=0755 state=directory
tags:
- easyfix
- easyfix/proxy
- name: Put the proxy config in place
template: >
src=gather-easyfix.conf
dest=/etc/httpd/conf.d/{{website}}/gather-easyfix.conf
owner=root group=root mode=0644
notify:
- reload httpd
tags:
- easyfix
- easyfix/proxy
- name: Install the sync-easyfix cronjob to pull content from gatherer
copy: >
src=sync-easyfix.cron dest=/etc/cron.d/sync-easyfix.cron
owner=root group=root mode=0644
tags:
- cron
- easyfix
- easyfix/proxy