diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2024-01-04 23:16:00 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2024-01-04 23:16:00 +0100 |
commit | 5c8a0d0025637032fe7a2d26e7c2ca61cba9f2e2 (patch) | |
tree | 95fc0f0b213d10bcba0e568765ce064d34edc250 | |
parent | 95d696a55a43f38f8aa4bd8a38d448bcc593da76 (diff) | |
download | ansible_collection-5c8a0d0025637032fe7a2d26e7c2ca61cba9f2e2.tar.gz |
signed_certificate: fix cert check
-rw-r--r-- | galaxy.yml | 2 | ||||
-rw-r--r-- | roles/signed_certificate/tasks/selfsigned.yml | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.22.0 +version: 0.22.1 readme: README.md authors: - Jonas Gunz <himself@jonasgunz.de> 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 |