ansible: Remove installation of curl from bookworm-backports
[lttng-ci.git] / automation / ansible / roles / common / tasks / setup-Debian.yml
index c1420e501c85308a674a2951e7cdd9987f9cef94..80faa0a17a9aeaba447bc25c9bb447d98acb75ab 100644 (file)
@@ -1,6 +1,8 @@
 ---
 - name: Add LTTng-CI PPA
-  when: ansible_distribution == 'Ubuntu'
+  # This provides gdb with no babeltrace; however, it's only made
+  # available for certain releases
+  when: ansible_distribution == 'Ubuntu' and ansible_distribution_version in ['22']
   block:
     - name: LTTng-CI PPA | apt key
       ansible.builtin.copy:
     name:
       - prometheus-node-exporter
       - prometheus-node-exporter-collectors
+
+- name: Work-around for git hanging during checkouts
+  # @see https://support.efficios.com/issues/1532
+  when: ansible_distribution_release == 'bookworm'
+  block:
+    - name: Use HTTP/1.1 with git HTTP operations
+      community.general.git_config:
+        file: '/etc/gitconfig'
+        name: 'http.version'
+        value: 'HTTP/1.1'
This page took 0.022169 seconds and 4 git commands to generate.