From 3f10179c92f1e33f023dd52d0c9bb5d288a2d726 Mon Sep 17 00:00:00 2001 From: Sadiq Saif Date: Sat, 12 Jan 2019 14:42:49 -0500 Subject: [PATCH] certbot e-mail flag should be -m instead of --email --- roles/mastodon-nginx/tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/mastodon-nginx/tasks/install.yml b/roles/mastodon-nginx/tasks/install.yml index b05404a..c785c76 100644 --- a/roles/mastodon-nginx/tasks/install.yml +++ b/roles/mastodon-nginx/tasks/install.yml @@ -5,8 +5,8 @@ - name: Stop nginx for now service: name=nginx state=stopped - name: Generate standalone Let's Encrypt TLS certificate for Mastodon instance - shell: letsencrypt certonly -n --agree-tos --standalone -d {{ LOCAL_DOMAIN }} --email "webmaster@{{ LOCAL_DOMAIN }}" + shell: letsencrypt certonly -n --agree-tos --standalone -d {{ LOCAL_DOMAIN }} -m "webmaster@{{ LOCAL_DOMAIN }}" - name: Restart nginx service: name=nginx state=started - name: Generate webroot Let's Encrypt TLS certificate for Mastodon instance - shell: letsencrypt certonly -n --webroot -d {{ LOCAL_DOMAIN }} -w /home/mastodon/live/public/ --email "webmaster@{{ LOCAL_DOMAIN }}" + shell: letsencrypt certonly -n --webroot -d {{ LOCAL_DOMAIN }} -w /home/mastodon/live/public/ -m "webmaster@{{ LOCAL_DOMAIN }}"