Certbot: Difference between revisions
| Line 27: | Line 27: | ||
# edit letsencrypt.yml as needed to identify the host for the play | # edit letsencrypt.yml as needed to identify the host for the play | ||
ansible-playbook -i hosts letsencrypt.yml | ansible-playbook -i hosts letsencrypt.yml | ||
# or if you need to use a different user for SSH | |||
ansible-playbook -i hosts letsencrypt.yml --user=root | |||
# if installing by package (default), then certbot is installed "normally". If by source, it's in /opt/certbot | # if installing by package (default), then certbot is installed "normally". If by source, it's in /opt/certbot | ||
## on the target host | ## on the target host | ||
| Line 42: | Line 45: | ||
# Now you should be able to access $DOMAIN with a green lock icon | # Now you should be able to access $DOMAIN with a green lock icon | ||
</source> | </source> | ||
== With HAProxy == | == With HAProxy == | ||