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