updated setup_fastd.yml
added features: - configure systemd-journald - install haveged - install ntpnetsplit
parent
f4ee05f46e
commit
aea89a9f4d
@ -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
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: install haveged
|
||||
pacman:
|
||||
update_cache: yes
|
||||
name: haveged
|
||||
state: present
|
||||
|
||||
- name: enable haveged at boot and start it
|
||||
systemd:
|
||||
name: haveged.service
|
||||
enabled: yes
|
||||
state: started
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: install ntp
|
||||
pacman:
|
||||
update_cache: yes
|
||||
name: ntp
|
||||
state: present
|
||||
|
||||
- name: enable ntp at boot and start it
|
||||
systemd:
|
||||
name: ntpd.service
|
||||
enabled: yes
|
||||
state: started
|
Loading…
Reference in New Issue