ansible/vm/host: Fix package name
[noc.git] / ansible / roles / vm / guest / tasks / main.yml
index 17c1a53..4830d05 100644 (file)
@@ -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 }}"
@@ -34,4 +34,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