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

15 lines
325 B
YAML
Raw Permalink Normal View History

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