From af1bac007dd2c4a086e1148923e932ac4b9e31d0 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 8 Feb 2024 01:41:58 -0800 Subject: [PATCH] examples/builder.yml: Add 'update-ca-trust" step for CentOS 7 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 --- ansible/examples/builder.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/examples/builder.yml b/ansible/examples/builder.yml index 2953c32e..911c22fd 100644 --- a/ansible/examples/builder.yml +++ b/ansible/examples/builder.yml @@ -920,6 +920,13 @@ 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" -- 2.47.3