Created
April 9, 2020 20:13
-
-
Save github-somerandomguy-xyz/53d4f68fbbc4958fa79b17f62b0c5f58 to your computer and use it in GitHub Desktop.
build & start storage pool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- block: | |
- name: build the storage pool. | |
virt_pool: | |
command: build | |
name: "{{ image_pool_name }}" | |
uri: "{{ libvirt_uri }}" | |
- name: start the storage pool. | |
virt_pool: | |
command: create | |
name: "{{ image_pool_name }}" | |
uri: "{{ libvirt_uri }}" | |
when: ansible_libvirt_pools["{{image_pool_name}}"].state != "active" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment