summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/handlers
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-05-19 13:57:59 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-05-19 14:36:08 -0400
commite266fb169d48f191ebec8d79b625f5db195a1ad0 (patch)
tree457ccaf5c97a48ee7109f4b2a1fbca78a39ea67a /roles/openshift_node/handlers
parent963c7c90af3358014faccd0eb60f3476d14985f4 (diff)
downloadopenshift-e266fb169d48f191ebec8d79b625f5db195a1ad0.tar.gz
openshift-e266fb169d48f191ebec8d79b625f5db195a1ad0.tar.bz2
openshift-e266fb169d48f191ebec8d79b625f5db195a1ad0.tar.xz
openshift-e266fb169d48f191ebec8d79b625f5db195a1ad0.zip
Workaround sysctl module issue with py3 by converting task to lineinfile.
Diffstat (limited to 'roles/openshift_node/handlers')
-rw-r--r--roles/openshift_node/handlers/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml
index cb51416d4..4dcf1eef8 100644
--- a/roles/openshift_node/handlers/main.yml
+++ b/roles/openshift_node/handlers/main.yml
@@ -12,3 +12,6 @@
- name: restart node
systemd: name={{ openshift.common.service_type }}-node state=restarted
when: (not skip_node_svc_handlers | default(False) | bool) and not (node_service_status_changed | default(false) | bool)
+
+- name: reload sysctl.conf
+ command: /sbin/sysctl -p