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 /playbooks/common | |
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 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-node/restart.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-node/restart.yml b/playbooks/common/openshift-node/restart.yml index 5e1df951c..441b100e9 100644 --- a/playbooks/common/openshift-node/restart.yml +++ b/playbooks/common/openshift-node/restart.yml @@ -51,7 +51,7 @@ register: node_output delegate_to: "{{ groups.oo_first_master.0 }}" when: inventory_hostname in groups.oo_nodes_to_config - until: node_output.results.results[0].status.conditions | selectattr('type', 'equalto', 'Ready') | map(attribute='status') | join | bool == True + until: node_output.results.results[0].status.conditions | selectattr('type', 'match', '^Ready$') | map(attribute='status') | join | bool == True # Give the node two minutes to come back online. retries: 24 delay: 5 |