From aea89a9f4dc3548d0295b0fd513c5c9b08207ffa Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Fri, 17 Mar 2017 19:32:27 +0100 Subject: updated setup_fastd.yml added features: - configure systemd-journald - install haveged - install ntp --- roles/configure_journald/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/configure_journald/tasks/main.yml (limited to 'roles/configure_journald') diff --git a/roles/configure_journald/tasks/main.yml b/roles/configure_journald/tasks/main.yml new file mode 100644 index 0000000..6742a9c --- /dev/null +++ b/roles/configure_journald/tasks/main.yml @@ -0,0 +1,13 @@ +--- +- 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 -- cgit v1.2.3-54-g00ecf