From 7bb3478ea700ceb49252f6e4cbeb971376572aec Mon Sep 17 00:00:00 2001 From: Sadiq Saif Date: Mon, 17 Jul 2017 22:55:15 -0400 Subject: [PATCH] add netdata LE and change to webroot use --- ubuntu/roles/letsencrypt/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu/roles/letsencrypt/tasks/main.yml b/ubuntu/roles/letsencrypt/tasks/main.yml index bce1a35..7d3e92f 100644 --- a/ubuntu/roles/letsencrypt/tasks/main.yml +++ b/ubuntu/roles/letsencrypt/tasks/main.yml @@ -8,7 +8,7 @@ ignore_errors: True - name: Generate LetsEncrypt TLS certificates - shell: letsencrypt certonly -n -m "letsencrypt@sadiqsaif.ca" --agree-tos --standalone -d {{ item }} + shell: letsencrypt certonly -n -m "letsencrypt@sadiqsaif.ca" --agree-tos --webroot -d {{ item }} -w /srv/www/{{ item }}/ with_items: - asininetech.com - entropynet.net @@ -18,6 +18,7 @@ - twoshadesofbrown.com - wiki.staticsafe.ca - sadiqsaif.com + - netdata.asininetech.net - name: start nginx if we stopped it before service: name=nginx state=started