Files
fedora-infra_ansible/roles/easyfix/proxy/tasks/main.yml
2014-12-17 16:10:54 +00:00

26 lines
629 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:
- restart 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