diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-25 14:33:23 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-25 14:33:23 +0100 |
commit | cb3abd557431cc04aef5de1b302bcde25cd81c81 (patch) | |
tree | 4fd7058270e4e9d87ccf9778b85e573faccb2cbd /roles/configure_journald/tasks/main.yml | |
parent | 62a74b1ed442dc8c8a1224aa8edceeb3ed9c1b84 (diff) |
added reload and restart handlers
Diffstat (limited to 'roles/configure_journald/tasks/main.yml')
-rw-r--r-- | roles/configure_journald/tasks/main.yml | 8 |
1 files changed, 1 insertions, 7 deletions
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 |