Configure systemd-journald.
- https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html
- https://www.freedesktop.org/software/systemd/man/journald.conf.html
systemd_journald_configs
(type=[], mandatory) - List of objects with struct{filename: "", content: ""}
, wherefilename
- filename in/etc/systemd/journald.conf.d/
andcontent
- multiline string with config file content.
systemd_journald_configs:
- filename: storage.conf
content: |
[Journal]
Storage=persistent
Compress=yes
SystemMaxUse=10G
RuntimeMaxUse=1G