diff options
author | Russell Teague <rteague@redhat.com> | 2017-02-23 09:17:34 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-02-23 09:38:13 -0500 |
commit | ad1455792dfcc9a3a01d3f8e7ef706906b2bf2a5 (patch) | |
tree | cfb46540d5f8bf20714e1bd9c0d6435307671c89 /roles/openshift_logging | |
parent | dafb278bcfc8e4452a658e8553013094cad854aa (diff) | |
download | openshift-ad1455792dfcc9a3a01d3f8e7ef706906b2bf2a5.tar.gz openshift-ad1455792dfcc9a3a01d3f8e7ef706906b2bf2a5.tar.bz2 openshift-ad1455792dfcc9a3a01d3f8e7ef706906b2bf2a5.tar.xz openshift-ad1455792dfcc9a3a01d3f8e7ef706906b2bf2a5.zip |
Convert selectattr tests to use 'match'
Diffstat (limited to 'roles/openshift_logging')
-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 |