diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-06-01 13:30:10 -0400 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-06-01 13:30:12 -0400 |
commit | 1115f2436459c783a918dd64591e5f8ea9f60075 (patch) | |
tree | de38931997356ff13429e5e8b2c7b40c321858b0 /roles | |
parent | 1015166e2d7fe02a2f6a42cea53b1d64a119a80e (diff) | |
download | openshift-1115f2436459c783a918dd64591e5f8ea9f60075.tar.gz openshift-1115f2436459c783a918dd64591e5f8ea9f60075.tar.bz2 openshift-1115f2436459c783a918dd64591e5f8ea9f60075.tar.xz openshift-1115f2436459c783a918dd64591e5f8ea9f60075.zip |
Add daemon_reload parameter to service tasks
Fixes "Could not find the requested service atomic-openshift-master:
cannot enable" error during reinstall.
https://bugzilla.redhat.com/show_bug.cgi?id=1451693
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_master/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 5522fef26..aed5598c0 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -177,6 +177,7 @@ # https://github.com/openshift/origin/issues/6447 - name: Start and enable master systemd: + daemon_reload: yes name: "{{ openshift.common.service_type }}-master" enabled: yes state: started diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index a8beaa060..573051504 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -206,6 +206,7 @@ - name: Start and enable node dep systemd: + daemon_reload: yes name: "{{ openshift.common.service_type }}-node-dep" enabled: yes state: started |