vm-update: Use post_tasks rather than explicit flush_handlers
[noc.git] / ansible / vm-update.yml
index 548a49f..871b3c7 100644 (file)
@@ -22,9 +22,7 @@
   roles:
     - vm/network
 
-  tasks:
-    - meta: flush_handlers
-
+  post_tasks:
     - name: Shutdown VM
       async: 1
       poll: 0
@@ -33,9 +31,6 @@
 
 - name: Update VM definition
   hosts: _vmhost_
-  vars:
-    run_installer: no
-
   tasks:
     - name: Wait for VM to shut down
       wait_for_virt: