mirror of
https://github.com/MatteZ02/infra.git
synced 2025-07-02 01:03:37 +00:00
Initial Commit
This commit is contained in:
5
files/certbot/nginx.sh
Normal file
5
files/certbot/nginx.sh
Normal 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
|
Reference in New Issue
Block a user