diff options
author | Russell Teague <rteague@redhat.com> | 2017-02-23 11:18:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 11:18:14 -0500 |
commit | 05bccd27a735d6884ee389bd3d55e0458f7d3daa (patch) | |
tree | 1799a3181d9002536dd7fc285b62239c1074313d /roles/openshift_logging/tasks | |
parent | 2bde0e2816873f924f710dec40d9a77c0da318ce (diff) | |
parent | ad1455792dfcc9a3a01d3f8e7ef706906b2bf2a5 (diff) | |
download | openshift-05bccd27a735d6884ee389bd3d55e0458f7d3daa.tar.gz openshift-05bccd27a735d6884ee389bd3d55e0458f7d3daa.tar.bz2 openshift-05bccd27a735d6884ee389bd3d55e0458f7d3daa.tar.xz openshift-05bccd27a735d6884ee389bd3d55e0458f7d3daa.zip |
Merge pull request #3465 from mtnbikenc/task-wait
BZ 1425688: Convert selectattr tests to use 'match'
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r-- | roles/openshift_logging/tasks/upgrade_logging.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging/tasks/upgrade_logging.yaml b/roles/openshift_logging/tasks/upgrade_logging.yaml index 83867d361..30fdbd2af 100644 --- a/roles/openshift_logging/tasks/upgrade_logging.yaml +++ b/roles/openshift_logging/tasks/upgrade_logging.yaml @@ -33,7 +33,7 @@ selector: "component=es" namespace: "{{openshift_logging_namespace}}" register: running_pod - until: running_pod.results.results[0]['items'] | selectattr('status.phase', 'equalto', 'Running') | map(attribute='metadata.name') | list | length != 0 + until: running_pod.results.results[0]['items'] | selectattr('status.phase', 'match', '^Running$') | map(attribute='metadata.name') | list | length != 0 retries: 30 delay: 10 |