stuvusIT.systemd-journald
systemd-journald
This role sets up systemd-journald. You can find the configuration options in journald.conf(5).
This role can also clear the persistent journal directory located at /var/log/journal
. Be aware that this will change how journald works if the storage is set to auto
.
Requirements
You need systemd with journald included.
Role Variables
Name | Default/Required | Description |
---|---|---|
journald_config |
{} |
A list of settings for systemd-journald |
journald_wipe_persistent |
false |
Clear the persistent journal directory |
Dependencies
None
Example Playbook
- hosts: all
roles:
- systemd-journald
journald_config:
Storage: volatile
RuntimeMaxUse: 1G
ForwardToConsole: "yes"
TTYPath: /dev/tty12
journald_wipe_persistent: true
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Author Information
Installa
ansible-galaxy install stuvusIT.systemd-journald
Licenza
other
Download
353
Proprietario
stuvus IT Team - Studierendenvertretung Universität Stuttgart