Skip to content

Commit

Permalink
fix: Wrong check
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Smolin <[email protected]>
  • Loading branch information
smolin-de committed Dec 11, 2024
1 parent 268f888 commit 7b7e976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/wait_for_cluster_operators/tasks/check_co.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
oc get co 2> /dev/null | awk '{print $4}'
register: co_check
# Check for "True" and "False", in case output was empty for any reason
until: (" True " not in co_check.stdout) and (" False " in co_check.stdout)
until: ("True" not in co_check.stdout) and ("False" in co_check.stdout)
retries: 10
delay: 30
ignore_errors: true
Expand Down
2 changes: 1 addition & 1 deletion roles/wait_for_cluster_operators/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
oc get co 2> /dev/null | awk '{print $3}'
register: co_check
# Check for "True" and "False", in case output was empty for any reason
until: (" True " in co_check.stdout) and (" False " not in co_check.stdout)
until: ("True" in co_check.stdout) and ("False" not in co_check.stdout)
retries: 20
delay: 15
ignore_errors: true
Expand Down

0 comments on commit 7b7e976

Please sign in to comment.