You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/roles/common/tasks/journald.yml

17 lines
385 B
YAML

---
- name: Create directory for journald config
file:
state: directory
path: "{{ global_systemd_journal_configuration_directory }}"
owner: root
group: root
mode: u=rwx,g=rx,o=rx
- name: Configure journald log
template:
src: journald.conf
dest: "{{ global_systemd_journal_configuration_directory }}/main.conf"
notify:
- restart systemd-journald