apt:
name: rng-tools
state: present
+ force_apt_get: yes
- name: Configure rngd [1/2]
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 }}"
content: |
[Service]
ExecStart=
- ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 --noclear --autologin root --login-pause --host {{ vm_install_host }} %I $TERM
+ ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 --noclear --autologin root --login-pause --host {{ vm_host }} %I $TERM