]> xn--ix-yja.es Git - alex.git/commitdiff
Fix wait
authoralex <alex@pdp7.net>
Sat, 4 Mar 2023 13:24:52 +0000 (14:24 +0100)
committeralex <alex@pdp7.net>
Sat, 4 Mar 2023 13:25:07 +0000 (14:25 +0100)
personal_infra/playbooks/roles/talos/tasks/main.yaml

index 7b86295e1aa2e45ecabcc3cf4cf8c10ce84c15aa..5b42dfc28c1ca3af609caa227944209b551cdfc4 100644 (file)
@@ -87,7 +87,6 @@
       type: Ready
   delegate_to: 127.0.0.1
   register: nodes
-  until: nodes.resources|length > 0
-  retries: 20
+  until: nodes.resources is defined and nodes.resources|length > 0
+  retries: 35
   delay: 1
-  when: "not 'resources' in nodes or nodes.resources|length == 0"