Add nginx reload command on new cert for all VMs with certbot and nginx

This commit is contained in:
June 2024-01-28 04:01:06 +01:00
commit 0fb059e6bf
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
10 changed files with 20 additions and 0 deletions

View file

@ -6,6 +6,8 @@ dependencies:
certbot__acme_account_email_address: "{{ nextcloud__certbot_acme_account_email_address }}"
certbot__certificate_domains:
- "{{ nextcloud__fqdn }}"
certbot__new_cert_commands:
- "systemctl reload nginx.service"
- role: nginx
vars:
nginx__version_spec: "{{ nextcloud__nginx_version_spec }}"