ansible: Add missing default variables for common-node
[lttng-ci.git] / automation / ansible / roles / common / tasks / setup-Debian.yml
index d0df1c170a59e04e1e36a7075f229fce2b3a00cd..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:
   # @see https://support.efficios.com/issues/1532
   when: ansible_distribution_release == 'bookworm'
   block:
-    - name: Add bookworm-backports pref
-      ansible.builtin.copy:
-        dest: /etc/apt/preferences.d/bookworm-backports.pref
-        content: "Package: curl libcurl3* libcurl4*\nPin: release n=bookworm-backports\nPin-Priority: 600\n"
-    - name: Enable bookworm backports
-      ansible.builtin.apt_repository:
-        repo: 'deb http://deb.debian.org/debian bookworm-backports main'
-    - ansible.builtin.apt:
-        upgrade: 'yes'
+    - 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.023401 seconds and 4 git commands to generate.