diff options
author | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2020-03-10 18:25:28 +0100 |
---|---|---|
committer | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2020-03-10 18:25:28 +0100 |
commit | 5f32e30370b424a209eef78cb335b9b5f632e482 (patch) | |
tree | 5c12a9b29d24949da024ed082129c9b3cd0bbe80 | |
parent | Move darling files (diff) |
Fix cert renewal to wait and cleanup
-rw-r--r-- | certs.yml | 6 |
1 files changed, 4 insertions, 2 deletions
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 |