mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 04:49:40 +01:00
16 lines
516 B
YAML
16 lines
516 B
YAML
---
|
|
- name: "include role nginx-modifier-all for {{domains[application_id]}}"
|
|
include_role:
|
|
name: nginx-modifier-all
|
|
|
|
- name: "include role nginx-https-recieve-certificate for {{domains[application_id]}}"
|
|
include_role:
|
|
name: nginx-https-recieve-certificate
|
|
vars:
|
|
domain: "{{domains[application_id]}}"
|
|
|
|
- name: "generate {{domains[application_id]}}.conf"
|
|
template:
|
|
src: "nginx.conf.j2"
|
|
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
|
notify: restart nginx |