Browse Source

Now installing and configuring rng-tools, so fastd can generate keys

Till Klocke 9 years ago
parent
commit
61f4719e40
1 changed files with 8 additions and 0 deletions
  1. 8 0
      roles/fastd/tasks/debian.yml

+ 8 - 0
roles/fastd/tasks/debian.yml

@@ -12,6 +12,14 @@
     - git
     - build-essential
 
+- name: Install rng-tools
+  apt: name=rng-tools state=present
+
+- name: Make sure that rng-tools uses /dev/urandom
+  lineinfile:
+    dest: /etc/default/rng-tools
+    line: HRNGDEVICE=/dev/urandom
+
 - include: source.yml
   when: not repo_universe_factory_available