Have redirect clean up its webroot when it finishes

This commit is contained in:
Salt 2020-02-20 03:58:18 -06:00
parent 508d7889ba
commit e8b77345f7

View File

@ -25,6 +25,10 @@
vars:
website_url: "{{ redirect_from }}"
website_webroot: "{{ redirect_webroot }}"
- name: Remove webroot
file:
path: "{{ redirect_webroot }}"
state: absent
- name: Configure Apache
block:
# If we copied over http-only configs before, they get oblooterated now