snel.kubernetes-cluster/roles/debian/tasks/systemd.yml

14 lines
381 B
YAML

---
- name: "Directory for Journald config"
ansible.builtin.file:
path: /etc/systemd/journald.conf.d
state: directory
mode: u=rw,go=r
- name: "Config for persistent Journald logging"
ansible.builtin.copy:
dest: /etc/systemd/journald.conf.d/persistent.conf
src: systemd/journald.conf.d/persistent.conf
mode: u=rw,go=r
notify: Restart Systemd-Journald