Added missing domain variable

This commit is contained in:
2025-02-19 20:49:14 +01:00
parent fd5c10b103
commit 96f96ebe77
2 changed files with 7 additions and 2 deletions

View File

@@ -2,4 +2,7 @@
- name: generate {{domains[application_id]}}.conf
template:
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]}}"