Browse Source

Permanent journald fix

pull/1943/head
Greg Szabo 7 years ago
parent
commit
9620e36ed7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      ansible/roles/install/tasks/main.yml

+ 6
- 0
ansible/roles/install/tasks/main.yml 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


Loading…
Cancel
Save