renaming folders after convert to collection
This commit is contained in:
19
roles/journald/tasks/main.yml
Normal file
19
roles/journald/tasks/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user