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.

14 lines
300 B
YAML

---
- name: log to ramdisk
lineinfile:
path: /etc/systemd/journald.conf
regexp: '^#?Storage='
line: 'Storage=volatile'
register: journald_conf
- name: restart systemd-journald
when: journald_conf.changed
systemd:
name: systemd-journald.service
state: restarted