Переглянути джерело

add a condition to cephcluster check (ensure status is defined)

Grega Bremec 1 тиждень тому
батько
коміт
180892cad7

+ 1 - 0
p0f/operators/roles/deploy-odf-storage/tasks/main.yml

@@ -153,6 +153,7 @@
   register: cephcluster
   until:
     - cephcluster.resources | length > 0
+    - cephcluster.resources[0].status is defined
     - cephcluster.resources[0].status.phase == "Ready"
   retries: 60
   delay: 5