Set pool autostart in different task or it doesn't act
This commit is contained in:
parent
3a8f330959
commit
d56ebda55b
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@
|
|||
- name: Start session pool
|
||||
virt_pool:
|
||||
state: active
|
||||
name: "{{ pool_name }}"
|
||||
uri: "qemu:///session"
|
||||
|
||||
- name: Autostart session pool
|
||||
virt_pool:
|
||||
autostart: true
|
||||
name: "{{ pool_name }}"
|
||||
uri: "qemu:///session"
|
||||
|
|
Loading…
Add table
Reference in a new issue