Browse Source

check that connectionState is defined before looking into it

Grega Bremec 21 hours ago
parent
commit
e42b6d04b3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      playbooks/roles/fix-operators/tasks/main.yml

+ 1 - 0
playbooks/roles/fix-operators/tasks/main.yml

@@ -85,6 +85,7 @@
   until:
     - (cat_stat.resources | length) == 1
     - cat_stat.resources[0].status is defined
+    - cat_stat.resources[0].status.connectionState is defined
     - cat_stat.resources[0].status.connectionState.lastObservedState == "READY"
   retries: 30
   delay: 10