Initial Commit

This commit is contained in:
Christer Warén
2024-05-05 18:10:54 +03:00
commit 923312b782
16 changed files with 693 additions and 0 deletions

5
files/certbot/nginx.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
echo -n "$CERTBOT_VALIDATION" > /root/nginx/html/.well-known/acme-challenge/$CERTBOT_TOKEN
mkdir -p /root/nginx/html/.well-known/acme-challenge
/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mkj-infra --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/id_rsa tasks.yml -t nginx &> /dev/null