diff options
author | Matt Clay <matt@mystile.com> | 2018-04-04 14:34:31 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-04-04 14:48:18 -0700 |
commit | 534e9e142b012d21c47b955cb7000076c71b7296 (patch) | |
tree | 9c0ac8d654b73802df944fe0062b68262c8f82c6 | |
parent | 4165bb308b23cdf6bf9cecf50cb958bb8e6a42bb (diff) | |
download | ansible-534e9e142b012d21c47b955cb7000076c71b7296.tar.gz |
Fix openssl_certificate test for newer openssl.
-rw-r--r-- | test/integration/targets/openssl_certificate/tests/validate.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/openssl_certificate/tests/validate.yml b/test/integration/targets/openssl_certificate/tests/validate.yml index ff5652e8b5..de37106945 100644 --- a/test/integration/targets/openssl_certificate/tests/validate.yml +++ b/test/integration/targets/openssl_certificate/tests/validate.yml @@ -7,7 +7,7 @@ register: cert_modulus - 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 |