make the dir here instead

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2018-12-17 18:46:44 +00:00
parent efa1a3d47d
commit daeaae624a
2 changed files with 6 additions and 8 deletions

View file

@ -4,14 +4,6 @@
- fedora-web
- fedora-web/main
- 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/main
- fedora-web/hotspot
- fedora-web/google-site-verification
- name: Copy some config files for {{website}}
copy: >
src={{item}} dest=/etc/httpd/conf.d/{{website}}/{{item}}

View file

@ -1,3 +1,9 @@
- 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:
- haproxy
- haproxy/rewrite
- template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf
notify:
- reload httpd