summaryrefslogtreecommitdiff
path: root/roles/configure_sysctl/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/configure_sysctl/tasks')
-rw-r--r--roles/configure_sysctl/tasks/main.yml6
1 files changed, 1 insertions, 5 deletions
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