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 0de2e15 commit 867ef64Copy full SHA for 867ef64
tasks/pools.yml
@@ -6,6 +6,7 @@
6
group: "{{ item.group }}"
7
mode: "{{ item.mode|int(base=8) }}"
8
state: directory
9
+ when: item.type == "dir"
10
with_items: "{{ libvirt_host_pools }}"
11
become: True
12
templates/pool.xml.j2
@@ -1,7 +1,7 @@
1
<pool type='{{ item.type }}'>
2
<name>{{ item.name }}</name>
3
- <capacity unit='bytes'>{{ item.capacity }}</capacity>
+ <capacity>{{ item.capacity }}</capacity>
4
<target>
5
- <path>{{ item.path }}</path>
+ <path>{{ item.path | default('placeholder_value') }}</path>
</target>
</pool>
0 commit comments