From 84fd8d26627127e6564c7d8e60b0e1e2095a39ae Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 26 Nov 2017 18:08:20 -0500 Subject: [PATCH] Add email to letsencrypt command --- roles/mastodon-nginx/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mastodon-nginx/tasks/main.yml b/roles/mastodon-nginx/tasks/main.yml index 2c74f0f..4ad75eb 100644 --- a/roles/mastodon-nginx/tasks/main.yml +++ b/roles/mastodon-nginx/tasks/main.yml @@ -10,7 +10,7 @@ - name: Stop nginx for now service: name=nginx state=stopped - 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 file: path: /etc/nginx/sites-enabled/default