Fix more bad variables from that copy

Oof
This commit is contained in:
Salt 2020-02-11 04:20:25 -06:00
parent 1ee8485b40
commit 55cbc1eb2d

View File

@ -18,12 +18,12 @@
- name: Configure temporary virtual host configs
template:
src: apache2-vhost.conf
dest: "/etc/apache2/sites-enabled/{{ redirect_url }}.conf"
dest: "/etc/apache2/sites-enabled/{{ redirect_from }}.conf"
- name: Generate certificate
include_role:
name: https
vars:
website_url: "{{ redirect_url }}"
website_from: "{{ redirect_from }}"
website_webroot: "{{ redirect_webroot }}"
- name: Configure Apache
block:
@ -31,7 +31,7 @@
- name: Copy over redirect config
template:
src: apache2-redirect.conf
dest: "/etc/apache2/sites-enabled/{{ redirect_url }}.conf"
dest: "/etc/apache2/sites-enabled/{{ redirect_from }}.conf"
- name: Reload Apache
service:
name: apache2