ansible: Portability fixes for reusing modules / Debian trixie
[lttng-ci.git] / automation / ansible / roles / common-node / tasks / setup-Debian.yml
index 953bad637dd8b9c9183945e8492af67a2d5a354b..1a8cc76793bcd0835789cbb1ef7c41c871177345 100644 (file)
@@ -6,7 +6,7 @@
   apt: "name={{ common_node_packages }} state=present"
 
 - name: Install linux headers
-  when: inventory_hostname in groups['node_standalone']
+  when: inventory_hostname in groups['node_standalone']|default([])
   block:
     - name: Install i386 linux headers Debian
       when: ansible_architecture == 'i386' and ansible_distribution == 'Debian'
This page took 0.024314 seconds and 4 git commands to generate.