From: nicoo Date: Sat, 24 Nov 2018 15:18:05 +0000 (+0100) Subject: ansible/vm/guest: Fix bug in rng-tool configuration task X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=3580da61ad003eb4403ebf85011f32c17cf9b3f3;p=noc.git ansible/vm/guest: Fix bug in rng-tool configuration task --- 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 }}"