ansible-role-certificates/files/letsencrypt_deploy_challenge.sh

5 lines
172 B
Bash
Executable file

#!/bin/bash
for i in $LETSENCRYPT_CHALLENGE_SERVERS; do
ssh -i /etc/letsencrypt/renewkey -o "StrictHostKeyChecking no" letsencrypt@$i $(< $LETSENCRYPT_TOKEN ) $1 $2
done