add netdata LE and change to webroot use

This commit is contained in:
Sadiq Saif 2017-07-17 22:55:15 -04:00 committed by GitHub
parent 1ca6c8643c
commit 7bb3478ea7

View File

@ -8,7 +8,7 @@
ignore_errors: True ignore_errors: True
- name: Generate LetsEncrypt TLS certificates - 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: with_items:
- asininetech.com - asininetech.com
- entropynet.net - entropynet.net
@ -18,6 +18,7 @@
- twoshadesofbrown.com - twoshadesofbrown.com
- wiki.staticsafe.ca - wiki.staticsafe.ca
- sadiqsaif.com - sadiqsaif.com
- netdata.asininetech.net
- name: start nginx if we stopped it before - name: start nginx if we stopped it before
service: name=nginx state=started service: name=nginx state=started