summaryrefslogtreecommitdiff
path: root/roles/configure_journald/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/configure_journald/tasks')
-rw-r--r--roles/configure_journald/tasks/main.yml8
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