mattez02-infra/files/certbot/nginx.sh

5 lines
226 B
Bash
Raw Normal View History

2024-04-18 14:50:57 +00:00
#!/bin/bash
echo -n "$CERTBOT_VALIDATION" > /root/nginx/html/.well-known/acme-challenge/$CERTBOT_TOKEN
/opt/ansible/bin/ansible-pull -U ssh://git@github.com/MatteZ02/mpp-ansible --private-key ~/.ssh/id_rsa tasks.yml -t nginx