arillso.system.systemd_journald role – Manages and configures systemd-journald service.
Note
This role is part of the arillso.system collection (version 0.0.34).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install arillso.system
.
To use it in a playbook, specify: arillso.system.systemd_journald
.
Entry point main
– Manages and configures systemd-journald service.
Synopsis
This role provides extensive configuration options for systemd-journald, the system service for collecting and storing log data on Linux systems.
It allows fine-tuning of various parameters such as log levels, storage, rate limiting, and log retention to suit different system requirements.
This role is designed to be flexible and is suitable for both small-scale deployments and large, complex systems.
Parameters
Parameter |
Comments |
---|---|
Whether to compress journal data. Choices:
|
|
Whether to forward journal messages to the system console. Choices:
|
|
Whether to forward journal messages to the kernel logging buffer (kmsg). Choices:
|
|
Whether to forward journal messages to the system logger (syslog). Choices:
|
|
Whether to forward urgent messages to all logged-in users. Choices:
|
|
Maximum line length for journal messages. Default: |
|
Duration after which journal files are rotated. Default: |
|
Maximum priority level of messages to be forwarded to the console. Default: |
|
Maximum priority level of messages to be forwarded to the kernel logging buffer (kmsg). Default: |
|
Maximum priority level of messages to be stored in the journal. Default: |
|
Maximum priority level of messages to be forwarded to the system logger (syslog). Default: |
|
Maximum priority level of urgent messages to be forwarded to all logged-in users. Default: |
|
Maximum retention period for journal entries. Default: |
|
Maximum number of messages recorded within the rate limit interval before limiting occurs. Default: |
|
Time interval for rate limiting of log messages. Default: |
|
Keeps a specified amount of disk space free (empty means default is used). |
|
Maximum file size for runtime journal files (empty means default is used). |
|
Maximum number of runtime journal files. Default: |
|
Maximum disk space to be used for runtime journal files (empty means default is used). |
|
Whether to seal journal files. Choices:
|
|
Whether to enable the systemd journald service. Choices:
|
|
Desired state of the systemd journald service (started/stopped/restarted/reloaded). Default: |
|
How log messages are split among users (uid/login/none). Default: |
|
Defines where journal data is stored (persistent/volatile/auto/none). Default: |
|
Interval to synchronize journal data to disk. Default: |
|
Amount of disk space to keep free for system journal files. Default: |
|
Maximum file size for system journal files. Default: |
|
Maximum number of system journal files. Default: |
|
Maximum disk space to be used for system journal files. Default: |