diff --git a/roles/minio-backups-cert/files/deploy-hook.sh b/roles/minio-backups-cert/files/deploy-hook.sh new file mode 100644 index 0000000..0964002 --- /dev/null +++ b/roles/minio-backups-cert/files/deploy-hook.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +systemctl reload nginx diff --git a/roles/minio-backups-cert/files/nsupdate-auth.sh b/roles/minio-backups-cert/files/nsupdate-auth.sh new file mode 100755 index 0000000..720bfa2 --- /dev/null +++ b/roles/minio-backups-cert/files/nsupdate-auth.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +export KRB5CCNAME=/run/certbot.krb5_ccache +klist -s || net ads kerberos kinit -P || exit +nsupdate -g <