Implemented draft for top domain as matrix identifier name

This commit is contained in:
2024-01-19 11:52:08 +01:00
parent 849ed61d38
commit 0aebca62f6
9 changed files with 48 additions and 22 deletions

View File

@@ -23,7 +23,25 @@
when: run_once_nginx is not defined
- name: create nginx config file
template: src=nginx.conf.j2 dest=/etc/nginx/nginx.conf
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
notify: restart nginx
when: run_once_nginx is not defined
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
when: run_once_nginx is not defined
vars:
domain: "{{top_domain}}"
when: run_once_nginx is not defined
- name: configure {{top_domain}}.conf
template:
src: "homepage.nginx.conf.j2"
dest: "{{nginx_servers_directory}}{{top_domain}}.conf"
vars:
domain: "{{top_domain}}"
notify: restart nginx
when: run_once_nginx is not defined