diff --git a/tasks/tls_cert_OpenBSD.yml b/tasks/tls_cert_OpenBSD.yml index 9f07913f0268e595241cc7b04a13f6921784588c..8cb6b0df479a4dc8d22dcdbbeb4e396fc91022c8 100644 --- a/tasks/tls_cert_OpenBSD.yml +++ b/tasks/tls_cert_OpenBSD.yml @@ -81,4 +81,5 @@ register: tls_copy - name: Update certificate authority store + when: tls_copy.changed or not tls_stat_cert.stat.exists command: /usr/local/sbin/update-ca-certificates