13 lines
462 B
YAML
Raw Normal View History

---
- 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:
domain: "{{domains[application_id]}}"
http_port: "{{ ports.localhost.http[application_id] }}"
2025-02-19 20:54:13 +01:00
- name: "generate {{domains[application_id]}}.conf"
template:
src: "nginx.conf.j2"
2025-02-19 20:49:14 +01:00
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
notify: restart nginx