From 5f32e30370b424a209eef78cb335b9b5f632e482 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Tue, 10 Mar 2020 18:25:28 +0100 Subject: Fix cert renewal to wait and cleanup --- certs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'certs.yml') diff --git a/certs.yml b/certs.yml index 8f72a8b..6f747ba 100644 --- a/certs.yml +++ b/certs.yml @@ -9,12 +9,14 @@ - docker_container: image: certbot/dns-ovh name: certbot-ovh - #auto_remove: true + auto_remove: true + cleanup: true + detach: false volumes: - /etc/letsencrypt:/etc/letsencrypt:rw - /var/lib/letsencrypt:/var/lib/letsencrypt:rw - /home/ansible_worker/ovh:/opt/ovh:ro - command: certonly --dns-ovh --dns-ovh-propagation-seconds 60 --dns-ovh-credentials /opt/ovh/credentials.ini -d "dybiec.info,*.dybiec.info" + command: certonly --dns-ovh --dns-ovh-propagation-seconds 59 --dns-ovh-credentials /opt/ovh/credentials.ini -d "dybiec.info,*.dybiec.info" - file: path: ~/ovh state: absent -- cgit 1.4.1