hac/ansible/roles/journald/tasks/main.yml
2024-04-17 11:23:04 +02:00

14 lines
325 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