---
- name: install haveged
package:
name: haveged
state: present
- name: start and enable systemd unit haveged
systemd:
enabled: yes
state: started