state: absent
purge: yes
+- name: Uninstall haveged
+ when: not (vm_guest_force_haveged | default(False))
+ apt:
+ name: haveged
+ state: absent
+ purge: yes
- name: Provide a root shell on the VM console [1/2]
file:
content: |
[Service]
ExecStart=
- ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 --noclear --autologin root --login-pause --host {{ vm_host }} %I $TERM
+ ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 --noclear --autologin root --login-pause --host {{ vm_install_host }} %I $TERM