From 5c8a0d0025637032fe7a2d26e7c2ca61cba9f2e2 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 4 Jan 2024 23:16:00 +0100 Subject: signed_certificate: fix cert check --- roles/signed_certificate/tasks/selfsigned.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/signed_certificate/tasks/selfsigned.yml b/roles/signed_certificate/tasks/selfsigned.yml index 7b0957c..26a8637 100644 --- a/roles/signed_certificate/tasks/selfsigned.yml +++ b/roles/signed_certificate/tasks/selfsigned.yml @@ -14,7 +14,7 @@ - existing_cert.valid_at.point_1 - not existing_cert.failed - existing_cert.subject.commonName == common_name - - existing_cert.issuer.commonName == '{{ signed_certificate.issuer_cn }}' + - existing_cert.issuer.commonName == signed_certificate.issuer_cn success_msg: Certificate is valid fail_msg: Certificate is not valid. creating a new one. ignore_errors: yes -- cgit v1.2.3