File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 4
4
<pool type =' {{ item.type }}' >
5
5
{% endif %}
6
6
<name >{{ item.name }}</name >
7
- {% if 'capacity' in item %}
7
+ {% if 'capacity' in item %}
8
8
<capacity >{{ item.capacity }}</capacity >
9
- {% endif %}
10
- {% if item .type in ['logical' , 'lvm2' , 'zfs' , 'rbd' ] %}
9
+ {% endif %}
10
+ {% if item .type in ['logical' , 'lvm2' , 'zfs' , 'rbd' ] %}
11
11
<source >
12
12
<name >{{ item.source }}</name >
13
- {% if item .type in ['logical' , 'lvm2' ] %}
13
+ {% if item .type in ['logical' , 'lvm2' ] %}
14
14
<format type =' lvm2' />
15
- {% endif %}
16
- {% if item .type == 'rbd' %}
15
+ {% endif %}
16
+ {% if item .type == 'rbd' %}
17
17
{% for host in item .hosts %}
18
18
<host name =' {{ host }}' />
19
19
{% endfor %}
20
20
<auth type =' ceph' username =' {{ item.username }}' >
21
21
<secret usage =' {{ item.name }}' />
22
22
</auth >
23
- {% endif %}
24
- </source >
25
23
{% endif %}
26
- {% if item .type != 'zfs' %}
24
+ </source >
25
+ {% endif %}
26
+ {% if item .type != 'zfs' %}
27
27
<target >
28
28
<path >{{ item.path | default('placeholder_value') }}</path >
29
29
</target >
30
- {% endif %}
30
+ {% endif %}
31
31
</pool >
You can’t perform that action at this time.
0 commit comments