From a38ae825500742275389129c75a58cba853f7483 Mon Sep 17 00:00:00 2001 From: June Date: Sun, 28 Jan 2024 04:17:36 +0100 Subject: [PATCH] Also add nginx reload cmd on new cert for Z9 VMs with certbot and nginx --- inventories/z9/host_vars/uptime-kuma.yaml | 2 ++ inventories/z9/host_vars/zigbee2mqtt.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/inventories/z9/host_vars/uptime-kuma.yaml b/inventories/z9/host_vars/uptime-kuma.yaml index a4d35e7..625bd2b 100644 --- a/inventories/z9/host_vars/uptime-kuma.yaml +++ b/inventories/z9/host_vars/uptime-kuma.yaml @@ -2,6 +2,8 @@ certbot__version_spec: "" certbot__acme_account_email_address: j+letsencrypt-ccchh@jsts.xyz certbot__certificate_domains: - "status.ccchh.net" +certbot__new_cert_commands: + - "systemctl reload nginx.service" docker_compose__compose_file_content: "{{ lookup('ansible.builtin.file', 'z9/configs/uptime-kuma/compose.yaml') }}" docker_compose__configuration_files: [ ] diff --git a/inventories/z9/host_vars/zigbee2mqtt.yaml b/inventories/z9/host_vars/zigbee2mqtt.yaml index 942d668..629dc65 100644 --- a/inventories/z9/host_vars/zigbee2mqtt.yaml +++ b/inventories/z9/host_vars/zigbee2mqtt.yaml @@ -6,6 +6,8 @@ certbot__version_spec: "" certbot__acme_account_email_address: j+letsencrypt-ccchh@jsts.xyz certbot__certificate_domains: - "zigbee2mqtt.ccchh.net" +certbot__new_cert_commands: + - "systemctl reload nginx.service" nginx__version_spec: "" nginx__configurations: