ansible: Limit deploying LTTng-CI PPA to Jammy
authorKienan Stewart <kstewart@efficios.com>
Wed, 14 Feb 2024 19:35:38 +0000 (14:35 -0500)
committerKienan Stewart <kstewart@efficios.com>
Wed, 14 Feb 2024 20:49:12 +0000 (15:49 -0500)
The PPA only provides packages for Bionic and Jammy at this
time. Bionic is not going to be supported by the ansible scripts.

Change-Id: Ifc28fae75b94a49840c0efc887631fd49d712efe
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
automation/ansible/roles/common/tasks/setup-Debian.yml

index 69cd5a7d062bd4d65db9a0491719923a2c92523e..6785e7dd4e405e5a9d744faba2a88e0cef3efc84 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:
This page took 0.023299 seconds and 4 git commands to generate.