Fix the check used to decide if run the mongodb certificate hook.

This commit is contained in:
Andrea Dell'Amico 2018-09-13 11:41:24 +02:00
parent 88d1f3ab72
commit 0d37228a63
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
- name: Copy the certificate and its key where the mongo server expects it
command: "{{ letsencrypt_acme_services_scripts_dir }}/mongodb"
when: mongodb_pem.stat.exists
when: not mongodb_pem.stat.exists
when:
- mongodb_ssl_letsencrypt_managed