ansible: Limit gcc cross from bookworm snapshot to bookworm nodes
authorKienan Stewart <kstewart@efficios.com>
Fri, 19 Jan 2024 18:33:31 +0000 (13:33 -0500)
committerKienan Stewart <kstewart@efficios.com>
Fri, 19 Jan 2024 20:00:06 +0000 (15:00 -0500)
Change-Id: I572ec2499555739e7e0245f93bf0ac50efc14f60
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
automation/ansible/roles/cross-compilers/tasks/setup-Debian.yml

index 4eb8363354508b17425a620b1e55b6e19b7cfdc6..7464b1e7b18ccffa5f5ffeb980b730abc3781f5a 100644 (file)
@@ -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
This page took 0.024458 seconds and 4 git commands to generate.