From 6390e36851915f5593f034718ca745d297abbcb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 26 Jun 2017 21:24:35 +0200 Subject: [PATCH] fix issue with CR-LF --- roles/sso/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/sso/tasks/main.yml b/roles/sso/tasks/main.yml index b6471ee..62f3ab4 100644 --- a/roles/sso/tasks/main.yml +++ b/roles/sso/tasks/main.yml @@ -88,7 +88,7 @@ command: creates=cacert.pem keytool -exportcert -alias ssl -keypass "{{ sso_keystore_password }}" -storepass "{{ sso_keystore_password }}" -keystore keystore.jks -file cacert.pem -rfc - name: Convert the CA Cert to a JSON String to be used in a JSON Patch - command: 'perl -pe ''chomp; print "\\n"'' cacert.pem' + command: 'perl -pe ''chomp; s/\r//g; print "\\n"'' cacert.pem' register: cacert - name: Update the secure route to use "reencrypt" instead of "passthrough"