ansible/roles/fedora-web/spins/tasks/main.yml
Rick Elrod fc1dc94ec9 make dir here too
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-12-17 19:43:35 +00:00

24 lines
635 B
YAML

- name: Copy in the sync-spins cronjob
copy: src=cron-sync-spins dest=/etc/cron.d/sync-spins
tags:
- fedora-web
- fedora-web/spins
- name: Make directory for the config files for {{website}} we are about to copy
file: path=/etc/httpd/conf.d/{{website}} state=directory owner=root group=root mode=0755
tags:
- fedora-web
- fedora-web/spins
- name: Copy some config files for {{website}}
copy: >
src={{item}} dest=/etc/httpd/conf.d/{{website}}/{{item}}
owner=root group=root mode=0644
with_items:
- spins.conf
- languages.conf
notify:
- reload proxyhttpd
tags:
- fedora-web
- fedora-web/spins