Skip to content
Snippets Groups Projects
Commit 7dd67781 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: syntax (spacing)

parent 4f0b142d
No related branches found
No related tags found
No related merge requests found
Pipeline #4475 passed
......@@ -11,25 +11,25 @@
loop:
- path: "log_retention.conf"
block: |
# According to SLUB policy beginning in July 2023, there are new retention periods for log entries governed by the law (SächsISichG §13). From now on, logs in journald are stored for 90 days, as reflected by this configuration.
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxFileSec=
MaxFileSec=1day
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxRetentionSec=
MaxRetentionSec=90day
# According to SLUB policy beginning in July 2023, there are new retention periods for log entries governed by the law (SächsISichG §13). From now on, logs in journald are stored for 90 days, as reflected by this configuration.
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxFileSec=
MaxFileSec=1day
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxRetentionSec=
MaxRetentionSec=90day
- path: "persistence.conf"
block: |
# If "persistent", data will be stored preferably on disk, i.e. below the /var/log/journal hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk is not writable.
Storage=persistent
# If "persistent", data will be stored preferably on disk, i.e. below the /var/log/journal hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk is not writable.
Storage=persistent
# If enabled (the default), data objects that shall be stored in the journal and are larger than the default threshold of 512 bytes are compressed before they are written to the file system.
Compress=true
# If enabled (the default), data objects that shall be stored in the journal and are larger than the default threshold of 512 bytes are compressed before they are written to the file system.
Compress=true
# Controls how much disk space the journal may use up at most. (default: 10%)
SystemMaxUse=1G
# Controls how much disk space the journal may use up at most. (default: 10%)
SystemMaxUse=1G
# Controls how much disk space systemd-journald shall leave free for other uses. (default: 15%)
# THIS DOES NOT WORK, HOWEVER: SystemKeepFree=15%
SystemKeepFree=350M
# Controls how much disk space systemd-journald shall leave free for other uses. (default: 15%)
# THIS DOES NOT WORK, HOWEVER: SystemKeepFree=15%
SystemKeepFree=350M
notify:
- reload journald configuration
when: ansible_facts.service_mgr == "systemd"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment