get_url to update agent.jar was failing with a cert error,
but jenkins.ceph.com's cert was fine; on a hunch I updated the
dynamic ca trust database and that resolved the error. I can't
see that it would do any damage to do so unconditionally.
Signed-off-by: Dan Mick <dmick@redhat.com>
executors: '{{ executors|default(1) }}'
exclusive: true
+ - name: Update ca-trust bundle
+ command:
+ cmd: "update-ca-trust"
+ when:
+ - ansible_os_family == "RedHat"
+ - ansible_distribution_major_version|int <= 7
+
- name: Download agent.jar
get_url:
url: "{{ api_uri }}/jnlpJars/agent.jar"