hac/ansible/roles/journald/tasks/main.yml
2024-03-20 13:45:58 +01:00

14 lines
333 B
YAML
Executable file

---
- 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