Permanent journald fix

This commit is contained in:
Greg Szabo
2017-12-07 22:24:17 -05:00
parent 1ade893555
commit 9620e36ed7

View File

@@ -10,6 +10,12 @@
- { regexp: "^#RateLimitInterval", line: "RateLimitInterval=0s" }
- { regexp: "^#RateLimitBurst", line: "RateLimitBurst=0" }
- name: Create journal directory for permanent logs
file: path=/var/log/journal state=directory
- name: Set journal folder with systemd-tmpfiles
command: "systemd-tmpfiles --create --prefix /var/log/journal"
- name: Restart journald
service: name=systemd-journald state=restarted