summaryrefslogtreecommitdiff
path: root/roles/install_haveged
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_haveged')
-rw-r--r--roles/install_haveged/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/install_haveged/tasks/main.yml b/roles/install_haveged/tasks/main.yml
new file mode 100644
index 0000000..df67c8d
--- /dev/null
+++ b/roles/install_haveged/tasks/main.yml
@@ -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