From dd9ffb97f6e885c9682405ba4ca8f880b25515ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Wed, 5 Oct 2022 15:33:22 +0200 Subject: [PATCH] certbot: gotify -> ntfy --- roles/certbot/files/{gotify.hook => ntfy.hook} | 2 +- roles/certbot/tasks/main.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename roles/certbot/files/{gotify.hook => ntfy.hook} (50%) diff --git a/roles/certbot/files/gotify.hook b/roles/certbot/files/ntfy.hook similarity index 50% rename from roles/certbot/files/gotify.hook rename to roles/certbot/files/ntfy.hook index ab7b67d..15ab620 100644 --- a/roles/certbot/files/gotify.hook +++ b/roles/certbot/files/ntfy.hook @@ -3,4 +3,4 @@ test "$1" = renew || exit 0 hostname="$(uname -n)" -curl-gotify "Certificate" "Certificate was renewed on $hostname" +curl-ntfy "Certificate" "Certificate was renewed on $hostname" diff --git a/roles/certbot/tasks/main.yml b/roles/certbot/tasks/main.yml index 5cba8d9..7373809 100644 --- a/roles/certbot/tasks/main.yml +++ b/roles/certbot/tasks/main.yml @@ -64,10 +64,10 @@ group: root mode: 0755 -- name: Install gotify hook +- name: Install ntfy hook ansible.builtin.copy: - src: gotify.hook - dest: /etc/letsencrypt/hook.d/gotify + src: ntfy.hook + dest: /etc/letsencrypt/hook.d/ntfy owner: root group: root mode: 0755 -- 2.44.0