make the dir here instead
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
efa1a3d47d
commit
daeaae624a
2 changed files with 6 additions and 8 deletions
|
@ -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}}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue