From 368de86163a572168fd7981077f732155190dcbd Mon Sep 17 00:00:00 2001 From: Nikolaos Kakouros Date: Wed, 6 Sep 2017 22:27:59 +0200 Subject: [PATCH] Runs registration once --- tasks/generate-certs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/generate-certs.yml b/tasks/generate-certs.yml index aa5ee5b..ee6c913 100644 --- a/tasks/generate-certs.yml +++ b/tasks/generate-certs.yml @@ -8,6 +8,8 @@ - name: Register with Let's Encrypt command: "{{ certbot_register_command }}" + args: + creates: /etc/letsencrypt/accounts - name: Generate certificates command: "{{ certbot_cert_command }} -d {{ certbot_domains | join(' -d ') }}"