
Changes is needed because we can not make dependencies on PRs from other repositories such as zuul-airship-roles, this would allow more robust development in the stage we currently are in. When there will be less activity on gating roles will be moved back to separate repo. Change-Id: I85c9bdd47b5aaba90df5458b20c90ff5c912c05f
24 lines
603 B
YAML
24 lines
603 B
YAML
---
|
|
- name: Ensure libvirt storage pools are defined
|
|
virt_pool:
|
|
name: "{{ libvirt_pool.name }}"
|
|
command: define
|
|
xml: "{{ libvirt_pool.xml | default(libvirt_pool_template_default) }}"
|
|
register: pool_info
|
|
|
|
- name: Ensure libvirt storage pools are built
|
|
virt_pool:
|
|
name: "{{ libvirt_pool.name }}"
|
|
command: build
|
|
when: pool_info.changed
|
|
|
|
- name: Ensure libvirt storage pools are active
|
|
virt_pool:
|
|
name: "{{ libvirt_pool.name }}"
|
|
state: active
|
|
|
|
- name: Ensure libvirt storage pools are started on boot
|
|
virt_pool:
|
|
name: "{{ libvirt_pool.name }}"
|
|
autostart: yes
|