@@ -15,15 +15,18 @@ Role Variables
1515` libvirt_host_pools ` is a list of pools to define and start. Each item
1616should be a dict containing the following items:
1717- ` name ` The name of the pool.
18- - ` type ` The type of the pool, currently only ` dir ` and ` lvm2 ` are supported.
18+ - ` type ` The type of the pool, currently only ` dir ` and ` logical ` are
19+ supported. ` lvm2 ` is supported as an alias for ` logical ` , but this alias is
20+ deprecated and will be removed in a future release.
1921- ` capacity ` The capacity, in bytes, of the pool. (optional)
2022- ` path ` The absolute path to the pool's backing directory.
2123- ` mode ` The access mode of the pool. N.B.: This should be specified as an
2224 integer ** without** a leading zero; for example: ` mode: 755 ` . (only ` dir ` )
2325- ` owner ` The owner of the pool. (only ` dir ` )
2426- ` group ` The group of the pool. (only ` dir ` )
25- - ` source ` The name of the volume group. (only ` lvm2 ` )
26- - ` pvs ` A list of physical volumes the volume group consists of. (only ` lvm2 ` )
27+ - ` source ` The name of the volume group. (only when type is ` logical ` )
28+ - ` pvs ` A list of physical volumes the volume group consists of. (only when
29+ type is ` logical ` )
2730
2831` libvirt_host_networks ` is a list of networks to define and start. Each item
2932should be a dict containing the following items:
@@ -100,7 +103,7 @@ Example Playbook
100103 owner: my-user
101104 group: my-group
102105 - name: lvm_pool
103- type: lvm2
106+ type: logical
104107 source: vg1
105108 target: /dev/vg1
106109 pvs:
0 commit comments