Update to Dimension's version

This commit is contained in:
2022-07-02 11:08:11 +01:00
parent 87dee9b3fa
commit d71a4ace92
16 changed files with 184 additions and 41 deletions

31
tasks/journald.yaml Normal file
View File

@@ -0,0 +1,31 @@
---
- name: Forward journald to syslog
community.general.ini_file:
path: /etc/systemd/journald.conf
section: Journal
option: ForwardToSyslog
value: "yes"
owner: root
group: root
mode: "0644"
notify: restart journald
- name: Compress journald logs
community.general.ini_file:
path: /etc/systemd/journald.conf
section: Journal
option: Compress
value: "yes"
owner: root
group: root
mode: "0644"
notify: restart journald
- name: Ensure logs are wrote to persistent disk
community.general.ini_file:
path: /etc/systemd/journald.conf
section: Journal
option: Storage
value: persistent
owner: root
group: root
mode: "0644"
notify: restart journald