mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-06-25 11:45:32 +02:00
13 lines
507 B
YAML
13 lines
507 B
YAML
---
|
|
- name: "include role for {{application_id}} to receive certs & do modification routines"
|
|
include_role:
|
|
name: nginx-https-get-cert-modify-all
|
|
vars:
|
|
domain: "{{ domains | get_domain(application_id) }}"
|
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
|
|
|
- name: "generate {{domains | get_domain(application_id)}}.conf"
|
|
template:
|
|
src: "nginx.conf.j2"
|
|
dest: "{{ nginx.directories.http.servers }}{{ domains | get_domain(application_id) }}.conf"
|
|
notify: restart nginx |