6 - name: Configure rngd [1/2]
8 path: /etc/default/rng-tools
9 line: '{{ item.key }}={{ item.value }}'
10 regexp: '^#?{{ item.key }}={{ item.value }}'
11 with_dict: '{{ rngd_config }}'
13 label: "{{ item.key }}"
16 - name: Configure rngd [2/2]
18 path: /etc/default/rng-tools
19 regexp: '^{{ item.key }}=(?!{{ item.value }})'
21 with_dict: '{{ rngd_config }}'
23 label: "{{ item.key }}"
26 - name: Provide a root shell on the VM console [1/2]
28 path: /etc/systemd/system/serial-getty@ttyS0.service.d/
31 - name: Provide a root shell on the VM console [2/2]
33 dest: /etc/systemd/system/serial-getty@ttyS0.service.d/autologon.conf
37 ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 --noclear --autologin root --login-pause --host {{ vm_install_host }} %I $TERM