[proxies] ensure dir exists
This commit is contained in:
parent
005af159b6
commit
2cc7c82fb2
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,13 @@
|
|||
# role only into the {{website}}/ folder for each site.
|
||||
|
||||
# This is the only real work we do.
|
||||
|
||||
- name: Ensure directory exists for redirect
|
||||
file:
|
||||
path: /etc/httpd/conf.d/{{website}}
|
||||
state: directory
|
||||
mode: '0744'
|
||||
|
||||
- name: Copy over httpd redirectmatch file for {{shortname}}
|
||||
template: >
|
||||
src=redirectmatch.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue