We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843c443 commit f101499Copy full SHA for f101499
handlers/main.yaml
@@ -13,3 +13,8 @@
13
- name: Reload systemd units
14
ansible.builtin.systemd:
15
daemon_reload: yes
16
+
17
+- name: Restart rsyslog
18
+ ansible.builtin.systemd:
19
+ name: rsyslog
20
+ state: restarted
tasks/rsyslog.yaml
@@ -1,5 +1,6 @@
1
---
2
- name: Ensure precise timestamps are enabled for rsyslog
3
+ notify: Restart rsyslog
4
when: system.rsyslog.precise_timestamps
5
ansible.builtin.lineinfile:
6
path: /etc/rsyslog.conf
0 commit comments