added journald, renamed all roles to follow ansible conventions

This commit is contained in:
2025-09-23 20:16:59 +01:00
parent a6ec546f4e
commit 78e0e4b717
16 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# change max size of journalctl logs
- name: "Set max size"
become: true
ansible.builtin.lineinfile:
path: /etc/systemd/journald.conf
regexp: 'SystemMaxUse='
line: "SystemMaxUse={{ mylimbo_journald_system_max_use }}"
notify:
- restart service
# change max size of journalctl max file size
- name: "Set max file size"
become: true
ansible.builtin.lineinfile:
path: /etc/systemd/journald.conf
regexp: 'SystemMaxFileSize='
line: "SystemMaxFileSize={{ mylimbo_journald_system_max_file_size }}"
notify:
- restart service