added journald, renamed all roles to follow ansible conventions
This commit is contained in:
1 parent
a6ec546f4e
commit
78e0e4b717
16 files changed
+120
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user