Sfoglia il codice sorgente

check that connectionState is defined before looking into it

Grega Bremec 22 ore fa
parent
commit
e42b6d04b3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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