ansible/vm/guest: Fix bug in rng-tool configuration task
authornicoo <nicoo@realraum.at>
Sat, 24 Nov 2018 15:18:05 +0000 (16:18 +0100)
committernicoo <nicoo@realraum.at>
Sat, 24 Nov 2018 15:18:05 +0000 (16:18 +0100)
ansible/roles/vm/guest/tasks/main.yml

index 17c1a53..e328026 100644 (file)
@@ -7,7 +7,7 @@
   lineinfile:
     path: /etc/default/rng-tools
     line: '{{ item.key }}={{ item.value }}'
-    regexp: '^#?{{ item.key }}={{ item.value }}'
+    regexp: '^#?{{ item.key }}='
   with_dict: '{{ rngd_config }}'
   loop_control:
     label: "{{ item.key }}"