From cb3abd557431cc04aef5de1b302bcde25cd81c81 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sat, 25 Mar 2017 14:33:23 +0100 Subject: added reload and restart handlers --- roles/configure_sysctl/tasks/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'roles/configure_sysctl/tasks/main.yml') diff --git a/roles/configure_sysctl/tasks/main.yml b/roles/configure_sysctl/tasks/main.yml index 1bfa275..04e0bef 100644 --- a/roles/configure_sysctl/tasks/main.yml +++ b/roles/configure_sysctl/tasks/main.yml @@ -9,8 +9,4 @@ copy: src: ff.conf dest: /etc/sysctl.d/ff.conf - register: ff_conf - -- name: reload sysctl - when: ff_conf.changed - command: /usr/bin/sysctl -p /etc/sysctl.d/ff.conf + notify: reload ff-sysctl -- cgit v1.2.3-54-g00ecf