Fix openssl_certificate test for newer openssl.

This commit is contained in:
Matt Clay 2018-04-04 14:34:31 -07:00
parent 4165bb308b
commit 534e9e142b

View file

@ -7,7 +7,7 @@
register: cert_modulus register: cert_modulus
- name: Validate certificate (test - issuer value) - name: Validate certificate (test - issuer value)
shell: 'openssl x509 -noout -in {{ output_dir}}/cert.pem -text | grep "Issuer" | sed "s/.*: \(.*\)/\1/g"' shell: 'openssl x509 -noout -in {{ output_dir}}/cert.pem -text | grep "Issuer" | sed "s/.*: \(.*\)/\1/g; s/ //g;"'
register: cert_issuer register: cert_issuer