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_journald/tasks/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'roles/configure_journald/tasks') diff --git a/roles/configure_journald/tasks/main.yml b/roles/configure_journald/tasks/main.yml index 6742a9c..a9976d6 100644 --- a/roles/configure_journald/tasks/main.yml +++ b/roles/configure_journald/tasks/main.yml @@ -4,10 +4,4 @@ path: /etc/systemd/journald.conf regexp: '^#?Storage=' line: 'Storage=volatile' - register: journald_conf - -- name: restart systemd-journald - when: journald_conf.changed - systemd: - name: systemd-journald.service - state: restarted + notify: restart systemd-journald -- cgit v1.2.3-54-g00ecf