diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-04 08:09:40 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-04 08:09:40 -0500 |
commit | fb1b9ff7d3293c821a8569ae95dcc8a98dfbf967 (patch) | |
tree | b98e2e19e491aacfdf942caa3ca82416808fa49b /roles/etcd | |
parent | 7cee7585ba41958d9e99fbbb56fa0d748567a770 (diff) | |
parent | 3f85ca5e72538110a4962cdb4961fa9e9f122648 (diff) | |
download | openshift-fb1b9ff7d3293c821a8569ae95dcc8a98dfbf967.tar.gz openshift-fb1b9ff7d3293c821a8569ae95dcc8a98dfbf967.tar.bz2 openshift-fb1b9ff7d3293c821a8569ae95dcc8a98dfbf967.tar.xz openshift-fb1b9ff7d3293c821a8569ae95dcc8a98dfbf967.zip |
Merge pull request #1095 from abutcher/restarts
Fix restart handlers
Diffstat (limited to 'roles/etcd')
-rw-r--r-- | roles/etcd/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/etcd/tasks/main.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd/handlers/main.yml b/roles/etcd/handlers/main.yml index aeb26d6b2..e00e1cac4 100644 --- a/roles/etcd/handlers/main.yml +++ b/roles/etcd/handlers/main.yml @@ -2,4 +2,4 @@ - name: restart etcd service: name={{ etcd_service }} state=restarted - when: not etcd_service_status_changed | default(false) + when: not (etcd_service_status_changed | default(false) | bool) diff --git a/roles/etcd/tasks/main.yml b/roles/etcd/tasks/main.yml index 2160ed817..663f6e537 100644 --- a/roles/etcd/tasks/main.yml +++ b/roles/etcd/tasks/main.yml @@ -104,4 +104,4 @@ register: start_result - set_fact: - etcd_service_status_changed = start_result | changed + etcd_service_status_changed = "{{ start_result | changed }}" |