diff options
author | Russell Teague <rteague@redhat.com> | 2017-12-14 15:00:59 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-12-14 16:03:44 -0500 |
commit | c113074f5b84881f416aca40e2bf4e20d4e6ce41 (patch) | |
tree | 307af8f0ddfc9bb5986dbcf8f17d2e2303f70386 /roles/openshift_node/tasks/main.yml | |
parent | 29d3212bf1089661b9fd38db59d72160a39d39d4 (diff) | |
download | openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.tar.gz openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.tar.bz2 openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.tar.xz openshift-c113074f5b84881f416aca40e2bf4e20d4e6ce41.zip |
Deprecate using Ansible tests as filters
Diffstat (limited to 'roles/openshift_node/tasks/main.yml')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index 946deb4d3..8bd8f2536 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -52,7 +52,9 @@ state: restarted when: openshift_use_crio register: task_result - failed_when: task_result|failed and 'could not find the requested service' not in task_result.msg|lower + failed_when: + - task_result is failed + - ('could not find the requested service' not in task_result.msg|lower) - name: restart NetworkManager to ensure resolv.conf is present systemd: |