feat ✨: Add configuration options for log2ram and journald settings
This commit introduces new features that allow users to configure log2ram and journald settings. It includes handlers for log2ram, journald, and a task to configure RAM usage. Additionally, a new role is added for installing and configuring log2ram on Debian systems.
This commit is contained in:
@@ -20,3 +20,17 @@
|
||||
name: logrotate
|
||||
state: restarted
|
||||
become: true
|
||||
|
||||
- name: Restart log2ram
|
||||
ansible.builtin.systemd:
|
||||
name: log2ram
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Restart journald
|
||||
ansible.builtin.systemd:
|
||||
name: systemd-journald
|
||||
state: restarted
|
||||
|
||||
- name: Reload sysctl
|
||||
ansible.builtin.command: sysctl --system
|
||||
|
||||
Reference in New Issue
Block a user