added fixes for ansible 2.8
[noc.git] / ansible / roles / vm / guest / tasks / main.yml
index e328026..e3ffd10 100644 (file)
@@ -2,6 +2,7 @@
   apt:
     name: rng-tools
     state: present
+    force_apt_get: yes
 
 - name: Configure rngd [1/2]
   lineinfile:
@@ -34,4 +35,4 @@
     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