aboutsummaryrefslogtreecommitdiff
path: root/roles/signed_certificate/tasks/selfsigned.yml
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-01-04 23:16:00 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-01-04 23:16:00 +0100
commit5c8a0d0025637032fe7a2d26e7c2ca61cba9f2e2 (patch)
tree95fc0f0b213d10bcba0e568765ce064d34edc250 /roles/signed_certificate/tasks/selfsigned.yml
parent95d696a55a43f38f8aa4bd8a38d448bcc593da76 (diff)
downloadansible_collection-5c8a0d0025637032fe7a2d26e7c2ca61cba9f2e2.tar.gz
signed_certificate: fix cert check
Diffstat (limited to 'roles/signed_certificate/tasks/selfsigned.yml')
-rw-r--r--roles/signed_certificate/tasks/selfsigned.yml2
1 files changed, 1 insertions, 1 deletions
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