diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-12-18 17:16:17 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-12-26 08:59:49 -0500 |
commit | 3f85ca5e72538110a4962cdb4961fa9e9f122648 (patch) | |
tree | b98e2e19e491aacfdf942caa3ca82416808fa49b /roles/openshift_node | |
parent | 7cee7585ba41958d9e99fbbb56fa0d748567a770 (diff) | |
download | openshift-3f85ca5e72538110a4962cdb4961fa9e9f122648.tar.gz openshift-3f85ca5e72538110a4962cdb4961fa9e9f122648.tar.bz2 openshift-3f85ca5e72538110a4962cdb4961fa9e9f122648.tar.xz openshift-3f85ca5e72538110a4962cdb4961fa9e9f122648.zip |
Fix restart handlers.
Diffstat (limited to 'roles/openshift_node')
-rw-r--r-- | roles/openshift_node/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml index 447ca85f3..c288f4d05 100644 --- a/roles/openshift_node/handlers/main.yml +++ b/roles/openshift_node/handlers/main.yml @@ -1,7 +1,7 @@ --- - name: restart node service: name={{ openshift.common.service_type }}-node state=restarted - when: not node_service_status_changed | default(false) + when: not (node_service_status_changed | default(false) | bool) - name: restart docker service: name=docker state=restarted diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index 96383439c..33852d7f8 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -135,4 +135,4 @@ register: start_result - set_fact: - node_service_status_changed: start_result | changed + node_service_status_changed: "{{ start_result | changed }}" |