Ansible Role systemd_journald
This role configures Systemd’s logging service „journald“.
Optional Role Variables
Variable |
Description |
Default Value |
---|---|---|
|
Controls where to store journal data. Have a look at |
|
|
Controls how much disk space systemd-journald shall leave free for other uses. Unlike in |
|
|
Controls how much disk space the journal may use up at most. Unlike in |
|
|
Enables or disables the service, analogous to |
|
|
Changes the state of the service, analogous to |
|
systemd-journald will respect both limits systemd_journald__conf_system_keep_free
and systemd_journald__conf_system_max_use
and use the smaller of the two values.
Example:
# optional
systemd_journald__conf_storage: 'persistent'
systemd_journald__conf_system_keep_free: '20%'
systemd_journald__conf_system_max_use: '5G'
systemd_journald__service_enabled: true
systemd_journald__service_state: 'started'