refactored docker and nginx roles, to make them more modular

This commit is contained in:
2023-12-06 17:59:57 +01:00
parent 994b61dd1a
commit ed40ee1f42
24 changed files with 58 additions and 135 deletions

View File

@@ -1,6 +1,6 @@
---
- name: recieve {{domain}} certificate
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{domain}}
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
- name: configure {{domain}}.conf
template: src=templates/nginx-proxy.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf