Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.41 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.41 KB

Catena Ansible Role: systemd-journald

Manage systemd-journald, a system service that collects and stores logging data. It creates and maintains structured, indexed journals based on logging information that is received from a variety of sources: kernel (kmsg), system logs, stdout and stderr of service unit, audit records.

Role default variables

Variable Default Info
catena_journald [] Set configuration files that control systemd-journal.
catena_journald_cleanup no Remove existing configuration files: /etc/systemd/journald.conf.d/*.conf.

catena_journald

Manage journald.conf.d - Journal service configuration files.

Configuration files will have the .conf extension and will be placed in the configuration snippets directory /etc/systemd/journald.conf.d.

# Default
catena_journald: []

# Example
catena_journald:
  # /etc/systemd/journald.conf.d/main.conf
  - name: main
    options:
      Storage: persistent
      SystemMaxUse: 100M
      SystemMaxFilesize: 100M
      SystemKeepFree: 50M