Fix zanata cert import

The task currently fails with:
"keytool -printcert -rfc -sslserver translate.openstack.org:443:443"
"keytool error: java.lang.Exception: No certificate from the SSL server"

Remove extra :443 to have the keytool command work.

Change-Id: I95e77e72188647d7c9bbf64a7ace82191c4a7853
This commit is contained in:
Andreas Jaeger 2017-10-18 08:25:52 +02:00
parent 70dd713fae
commit 95a4c73415

View File

@ -36,7 +36,7 @@
# This is a preview module in Ansible 2.3. It may not work.
- name: import cert to java keystore
java_cert:
cert_url: "{{ zanata_api_credentials.fqdn }}:443"
cert_url: "{{ zanata_api_credentials.fqdn }}"
keystore_path: /etc/ssl/certs/java/cacerts
keystore_pass: changeit
keystore_create: true