forked from ISTI-ansible-roles/ansible-roles
Fix the check used to decide if run the mongodb certificate hook.
This commit is contained in:
parent
88d1f3ab72
commit
0d37228a63
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue