From: Kienan Stewart Date: Fri, 19 Jan 2024 18:33:31 +0000 (-0500) Subject: ansible: Limit gcc cross from bookworm snapshot to bookworm nodes X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7bfd4464964802cdb868f8622d490fdc2766ab34;p=lttng-ci.git ansible: Limit gcc cross from bookworm snapshot to bookworm nodes Change-Id: I572ec2499555739e7e0245f93bf0ac50efc14f60 Signed-off-by: Kienan Stewart --- diff --git a/automation/ansible/roles/cross-compilers/tasks/setup-Debian.yml b/automation/ansible/roles/cross-compilers/tasks/setup-Debian.yml index 4eb8363..7464b1e 100644 --- a/automation/ansible/roles/cross-compilers/tasks/setup-Debian.yml +++ b/automation/ansible/roles/cross-compilers/tasks/setup-Debian.yml @@ -3,7 +3,7 @@ apt: update_cache=yes cache_valid_time=86400 - name: Add snapshot soures for gcc-11-powerpc/riscv64 - when: ansible_distribution == 'Debian' + when: ansible_distribution == 'Debian' and ansible_distribution_major_version == '12' block: - ansible.builtin.copy: dest: /etc/apt/preferences.d/snapshot.pref