mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-16 10:06:29 +00:00
Added missing domain variable
This commit is contained in:
@@ -2,4 +2,7 @@
|
|||||||
- name: generate {{domains[application_id]}}.conf
|
- name: generate {{domains[application_id]}}.conf
|
||||||
template:
|
template:
|
||||||
src: "nginx.conf.j2"
|
src: "nginx.conf.j2"
|
||||||
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
||||||
|
notify: restart nginx
|
||||||
|
var:
|
||||||
|
domain: "{{domains[application_id]}}"
|
||||||
@@ -3,4 +3,6 @@
|
|||||||
template:
|
template:
|
||||||
src: "nginx.conf.j2"
|
src: "nginx.conf.j2"
|
||||||
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
var:
|
||||||
|
domain: "{{domains[application_id]}}"
|
||||||
Reference in New Issue
Block a user