aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/journald/handlers
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-09-22 10:00:16 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-09-22 11:14:27 +0200
commitf139ba3fa6d2ed431ca411b2d35ddc3b5c9b1b68 (patch)
tree14bd5ae4a212d6a76b4e867c9a565af83c3ed09d /roles/journald/handlers
parentadd meta/runtime.yml (diff)
downloadinfra-ansible-f139ba3fa6d2ed431ca411b2d35ddc3b5c9b1b68.tar.gz
infra-ansible-f139ba3fa6d2ed431ca411b2d35ddc3b5c9b1b68.zip
journald: move service restart to handlers
Diffstat (limited to '')
-rw-r--r--roles/journald/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/journald/handlers/main.yml b/roles/journald/handlers/main.yml
new file mode 100644
index 0000000..623d9ff
--- /dev/null
+++ b/roles/journald/handlers/main.yml
@@ -0,0 +1,6 @@
+- name: Restart systemd-journald
+ become: true
+ ansible.builtin.systemd_service:
+ name: systemd-journald
+ state: restarted
+ listen: journald_restart