~xenrox/ansible

dd9ffb97f6e885c9682405ba4ca8f880b25515ee — Thorben Günther 1 year, 6 months ago cbe9d68
certbot: gotify -> ntfy
2 files changed, 4 insertions(+), 4 deletions(-)

R roles/certbot/files/{gotify.hook => ntfy.hook}
M roles/certbot/tasks/main.yml
R roles/certbot/files/gotify.hook => roles/certbot/files/ntfy.hook +1 -1
@@ 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"

M roles/certbot/tasks/main.yml => roles/certbot/tasks/main.yml +3 -3
@@ 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