Add email to letsencrypt command

This commit is contained in:
staticsafe 2017-11-26 18:08:20 -05:00
parent 057f4adf13
commit 84fd8d2662
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
- name: Stop nginx for now - name: Stop nginx for now
service: name=nginx state=stopped service: name=nginx state=stopped
- name: Generate Let's Encrypt TLS certificate for Mastodon instance - name: Generate Let's Encrypt TLS certificate for Mastodon instance
shell: letsencrypt certonly -n --agree-tos --standalone -d {{ mastodon_hostname }} shell: letsencrypt certonly -n --agree-tos --standalone -d {{ mastodon_hostname }} --email "webmaster@{{ mastodon_hostname }}"
- name: Remove default nginx config in sites-enabled - name: Remove default nginx config in sites-enabled
file: file:
path: /etc/nginx/sites-enabled/default path: /etc/nginx/sites-enabled/default