Sys-svc-journalctl Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Configure and manage systemd-journald settings
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
galaxy_tags: [‘system’, ‘logging’, ‘journald’]
repository: https://s.infinito.nexus/code
issue_tracker_url: https://s.infinito.nexus/issues
documentation: https://s.infinito.nexus/code/roles/sys-svc-journalctl
run_after: []
README¶
Journalctl¶
This Ansible role manages the configuration of systemd-journald on
target hosts.
Description¶
Copies a customized
journald.confto/etc/systemd/journald.confEnsures log retention for one week
Restarts the
systemd-journaldservice when configuration changesSupports live log streaming via
journalctl -f
Overview¶
Template deployment The role places your
journald.conf.j2template into/etc/systemd/journald.conf.Service handler On change, it notifies a handler to restart
systemd-journald.Monitoring You can follow logs in real time with
journalctl -f.
Features¶
Customizable retention and runtime limits
Seamless restarts on config update
Integration with
sys-ctl-hlth-journalctlfor downstream monitoring
Usage¶
```yaml - hosts: all roles: - role: sys-svc-journalctl