infrastructure/playbooks/roles/lego/files/hooks/auth.serguzim.me
Tobias Reisinger 4104057771
Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/
also fixed issues reported by ansible-lint
2024-10-14 18:31:36 +02:00

12 lines
228 B
Text
Executable file

#!/usr/bin/env sh
domain="auth.serguzim.me"
_install() {
install --owner=root --group=root --mode=600 \
"$CERTIFICATES_PATH/$domain.$1" \
"/opt/services/authentik/certs/$domain.$2"
}
_install crt pem
_install key key