diff options
Diffstat (limited to 'ansible/roles/mosquitto-server/handlers')
-rw-r--r-- | ansible/roles/mosquitto-server/handlers/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/mosquitto-server/handlers/main.yml b/ansible/roles/mosquitto-server/handlers/main.yml new file mode 100644 index 0000000..c7e142b --- /dev/null +++ b/ansible/roles/mosquitto-server/handlers/main.yml @@ -0,0 +1,11 @@ +--- +- name: reload mosquitto + service: + name: mosquitto + state: reloaded +- name: run mosquitto deploy handler + shell: /etc/letsencrypt/renewal-hooks/deploy/mosquitto-server + become: true + environment: + RENEWED_DOMAINS: 'trygvis.io' + RENEWED_LINEAGE: '/etc/letsencrypt/live/trygvis.io' |