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 --- galaxy.yml | 2 +- roles/signed_certificate/tasks/selfsigned.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index e557cb6..1d10262 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.22.0 +version: 0.22.1 readme: README.md authors: - Jonas Gunz 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