From 3580da61ad003eb4403ebf85011f32c17cf9b3f3 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sat, 24 Nov 2018 16:18:05 +0100 Subject: [PATCH] ansible/vm/guest: Fix bug in rng-tool configuration task --- ansible/roles/vm/guest/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/vm/guest/tasks/main.yml b/ansible/roles/vm/guest/tasks/main.yml index 17c1a53..e328026 100644 --- a/ansible/roles/vm/guest/tasks/main.yml +++ b/ansible/roles/vm/guest/tasks/main.yml @@ -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 }}" -- 1.7.10.4