summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade/handlers/main.yml
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-07-27 15:56:18 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-07-27 17:08:53 +0200
commit78abbe021170aaa9b463ba177d78654a7c5d42d5 (patch)
treef7464b719e8d24b681760fb51c1c49c81c4a8876 /roles/openshift_node_upgrade/handlers/main.yml
parent7a2eab51e45a7722f3eb51f96bd560e77725bc0b (diff)
downloadopenshift-78abbe021170aaa9b463ba177d78654a7c5d42d5.tar.gz
openshift-78abbe021170aaa9b463ba177d78654a7c5d42d5.tar.bz2
openshift-78abbe021170aaa9b463ba177d78654a7c5d42d5.tar.xz
openshift-78abbe021170aaa9b463ba177d78654a7c5d42d5.zip
backport 'Add systemctl daemon-reload handler to openshift_node' #4403 to openshift_node_upgrade
Diffstat (limited to 'roles/openshift_node_upgrade/handlers/main.yml')
-rw-r--r--roles/openshift_node_upgrade/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/handlers/main.yml b/roles/openshift_node_upgrade/handlers/main.yml
index f26f5d573..d31b899cf 100644
--- a/roles/openshift_node_upgrade/handlers/main.yml
+++ b/roles/openshift_node_upgrade/handlers/main.yml
@@ -29,3 +29,8 @@
when:
- (not skip_node_svc_handlers | default(False) | bool)
- not (node_service_status_changed | default(false) | bool)
+
+# TODO(jchaloup): once it is verified the systemd module works as expected
+# switch to it: http://docs.ansible.com/ansible/latest/systemd_module.html
+- name: reload systemd units
+ command: systemctl daemon-reload