From: Kienan Stewart Date: Wed, 14 Feb 2024 19:35:38 +0000 (-0500) Subject: ansible: Limit deploying LTTng-CI PPA to Jammy X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6e7745d035f75d4b5487b90bff6dc7e0658e208f;p=lttng-ci.git ansible: Limit deploying LTTng-CI PPA to Jammy 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 --- diff --git a/automation/ansible/roles/common/tasks/setup-Debian.yml b/automation/ansible/roles/common/tasks/setup-Debian.yml index 69cd5a7..6785e7d 100644 --- a/automation/ansible/roles/common/tasks/setup-Debian.yml +++ b/automation/ansible/roles/common/tasks/setup-Debian.yml @@ -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: