hac/ansible/roles/journald/tasks/main.yml

15 lines
333 B
YAML
Raw Normal View History

2024-03-20 13:45:58 +01:00
---
- name: Create /etc/systemd/journald.conf.d
ansible.builtin.file:
path: '/etc/systemd/journald.conf.d'
state: 'directory'
mode: "0750"
- name: Copy retention-time.conf
ansible.builtin.copy:
src: 'retention-time.conf'
dest: '/etc/systemd/journald.conf.d'
mode: "0640"
notify:
- Restart journald