summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2017-06-01 13:30:10 -0400
committerTim Bielawa <tbielawa@redhat.com>2017-06-01 13:30:12 -0400
commit1115f2436459c783a918dd64591e5f8ea9f60075 (patch)
treede38931997356ff13429e5e8b2c7b40c321858b0 /roles/openshift_master/tasks
parent1015166e2d7fe02a2f6a42cea53b1d64a119a80e (diff)
downloadopenshift-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/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml1
1 files changed, 1 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