diff --git a/roles/letsencrypt/defaults/main.yml b/roles/letsencrypt/defaults/main.yml index 5e268b2ab95df7c3cefc0766c0bece40d76aa8d0..f38c2f2dd5c4d484ad695896b24d698442bc145d 100644 --- a/roles/letsencrypt/defaults/main.yml +++ b/roles/letsencrypt/defaults/main.yml @@ -1,7 +1,7 @@ --- letsencrypt_domains: [] -letsencrypt_webroot: /tmp/letsencrypt +letsencrypt_webroot: /var/www/letsencrypt letsencrypt_email: sysadmin@ubicast.eu letsencrypt_testing: false diff --git a/roles/letsencrypt/tasks/main.yml b/roles/letsencrypt/tasks/main.yml index 33ef398bef5e531793937efed6964e217bdb771e..36b279ef286a0d43dafb77331b2b210b163d072e 100644 --- a/roles/letsencrypt/tasks/main.yml +++ b/roles/letsencrypt/tasks/main.yml @@ -46,7 +46,7 @@ mode: 0755 content: | #!/usr/bin/env bash - CERTBOT_DOCROOT=/tmp/letsencrypt + CERTBOT_DOCROOT=/var/www/letsencrypt mkdir -p "$CERTBOT_DOCROOT" chmod 755 "$CERTBOT_DOCROOT"