ansible: Limit gcc cross from bookworm snapshot to bookworm nodes
[lttng-ci.git] / 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.029114 seconds and 4 git commands to generate.