]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Fix: when conditional failure due to non-boolean result 2587/head
authorjitendrasahu1803 <jitendra.sahu1803@gmail.com>
Mon, 18 May 2026 11:48:58 +0000 (17:18 +0530)
committerjitendrasahu1803 <jitendra.sahu1803@gmail.com>
Mon, 18 May 2026 12:06:28 +0000 (17:36 +0530)
Signed-off-by: jitendrasahu1803 <jitendra.sahu1803@gmail.com>
ansible/examples/builder.yml

index 15f1458353f9d16463983f4feb5ac54ca7a4656d..e906ce5cf5ee47f9984349fdec425fd713cd8f96 100644 (file)
         permanent: true
         nodename: "{{ ansible_hostname }}"
       with_items: "{{ ansible_all_ipv4_addresses }}"
-      when: item | regex_search('^(172\\.21\\.|8\\.43\\.|10\\.20\\.)')
+      when: item is match('^(172\\.21\\.|8\\.43\\.|10\\.20\\.)')
       tags: always
 
     ## EPHEMERAL SLAVE TASKS