ansible: Do not update jenkins node during ci-instances when not set
[lttng-ci.git] / automation / ansible / playbooks / ci-instances.yml
index 30d5d42a21d8c0bbe9ea2f1c81c43a714ec1fd45..1259a7a724d71c282032badb465cb662f2f6e1a9 100644 (file)
@@ -46,7 +46,7 @@
           '-s', "{{name_server}}",
         ]
     - name: Update Jenkins nodes
-      when: not skip_jenkins and inventory_hostname == 'localhost'
+      when: item.jenkins|default(false) and not skip_jenkins and inventory_hostname == 'localhost'
       with_items: "{{containers}}"
       vars:
         node_name: "{{item.jenkins.node_name|default(item.lxd.name|default(item.vm.name))}}"
This page took 0.023176 seconds and 4 git commands to generate.