Have redirect clean up its webroot when it finishes
This commit is contained in:
parent
508d7889ba
commit
e8b77345f7
@ -25,6 +25,10 @@
|
|||||||
vars:
|
vars:
|
||||||
website_url: "{{ redirect_from }}"
|
website_url: "{{ redirect_from }}"
|
||||||
website_webroot: "{{ redirect_webroot }}"
|
website_webroot: "{{ redirect_webroot }}"
|
||||||
|
- name: Remove webroot
|
||||||
|
file:
|
||||||
|
path: "{{ redirect_webroot }}"
|
||||||
|
state: absent
|
||||||
- name: Configure Apache
|
- name: Configure Apache
|
||||||
block:
|
block:
|
||||||
# If we copied over http-only configs before, they get oblooterated now
|
# If we copied over http-only configs before, they get oblooterated now
|
||||||
|
Loading…
Reference in New Issue
Block a user