2025-02-19 20:46:14 +01:00
|
|
|
---
|
2025-02-21 09:28:01 +01:00
|
|
|
- name: "include role for {{application_id}} to recieve certs & do modification routines"
|
|
|
|
include_role:
|
|
|
|
name: nginx-https-get-cert-modify-all
|
2025-02-21 06:32:12 +01:00
|
|
|
vars:
|
2025-02-21 10:53:19 +01:00
|
|
|
domain: "{{domains[application_id]}}"
|
|
|
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
2025-02-19 22:03:17 +01:00
|
|
|
|
2025-02-19 20:54:13 +01:00
|
|
|
- name: "generate {{domains[application_id]}}.conf"
|
2025-02-19 20:46:14 +01:00
|
|
|
template:
|
|
|
|
src: "nginx.conf.j2"
|
|
|
|
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
2025-02-19 20:49:14 +01:00
|
|
|
notify: restart nginx
|