diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-06-26 14:26:32 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-06-26 14:26:54 +0300 |
commit | f9c8f65b7503928fee8d00ba4b56cdd36793919f (patch) | |
tree | da1d710e7cd4e9091065869ba59ea4eca1fba25d /installer-ansible.yml | |
parent | 6377f0aaf16dc6cb199735256a299d40585cdfd0 (diff) | |
download | v-i-f9c8f65b7503928fee8d00ba4b56cdd36793919f.tar.gz |
disable systemd journal persistence on installer image
for boot speed
Sponsored-by: author
Diffstat (limited to 'installer-ansible.yml')
-rw-r--r-- | installer-ansible.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml index fe7475a..a53d998 100644 --- a/installer-ansible.yml +++ b/installer-ansible.yml @@ -15,6 +15,18 @@ shell: | sed -i '/^root:[^:]*:/s//root::/' /etc/passwd + - name: "uninstall rsyslogd" + apt: + name: rsyslogd + state: absent + purge: yes + + - name: "make systemd journal volatile (non-persistent)" + lineinfile: + path: /etc/systemd/journald.conf + regexp: Storage= + line: Storage=volatile + - name: "create /root/.ssh" file: state: directory |