]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
examples/builder.yml: Add 'update-ca-trust" step for CentOS 7 2192/head
authorDan Mick <dmick@redhat.com>
Thu, 8 Feb 2024 09:41:58 +0000 (01:41 -0800)
committerDan Mick <dmick@redhat.com>
Thu, 8 Feb 2024 09:46:37 +0000 (01:46 -0800)
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>
ansible/examples/builder.yml

index 2953c32e4e50769b97725fcb03a5f99770574865..911c22fd791dcf87caeb026aa0a8d4fb9faa144d 100644 (file)
             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"