From 3aad4e7398c39c26ce32e1007c83d04607daa639 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 29 Dec 2020 21:41:29 +0100 Subject: [PATCH] Agree Let's Encrypt ToS Signed-off-by: Yohann D'ANELLO --- ansible/roles/4-certbot/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/4-certbot/tasks/main.yml b/ansible/roles/4-certbot/tasks/main.yml index dbd6e477..0056480f 100644 --- a/ansible/roles/4-certbot/tasks/main.yml +++ b/ansible/roles/4-certbot/tasks/main.yml @@ -31,7 +31,7 @@ state: stopped - name: Generate new certificate if one doesn't exist. - shell: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/nk20.ini -d {{note.server_name}}" + shell: "certbot certonly --non-interactive --agree-tos --config /etc/letsencrypt/conf.d/nk20.ini -d {{note.server_name}}" when: letsencrypt_cert.stat.exists == False - name: Restart services to allow certbot to generate a cert.