We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c62d93 commit 3fe9e0aCopy full SHA for 3fe9e0a
tasks/vm.yml
@@ -5,12 +5,8 @@
5
command: define
6
xml: "{{ lookup('template', 'vm.xml.j2') }}"
7
8
-- name: Ensure the VM is running
+- name: Ensure the VM is running and started at boot
9
virt:
10
name: "{{ libvirt_vm_name }}"
11
+ autostart: true
12
state: running
-
13
-- name: Ensure the VM is started at boot
14
- virt:
15
- name: "{{ libvirt_vm_name }}"
16
- command: autostart
0 commit comments