debops.lvm default variables¶
LVM configuration¶
-
lvm__packages
¶
List of LVM-related packages to install.
lvm__packages: [ 'lvm2' ]
-
lvm__global_use_lvmetad
¶
Enable lvmetad
daemon by default.
lvm__global_use_lvmetad: True
-
lvm__devices_filter
¶
List of filters that determine what devices are used by lvm
scripts.
lvm__devices_filter: [ 'a|sd.*|', 'a|vd.*|', 'a|drbd.*|', 'a|md.*|', 'r|.*|' ]
-
lvm__devices_global_filter
¶
List of filters that determine what devices are scanned by lvm
scripts.
lvm__devices_global_filter: '{{ lvm__devices_filter }}'
-
lvm__config_lookup
¶
Ansible selects the base LVM configuration based on available version, distribution and release. Using this variable you can override the automatic choice if needed.
lvm__config_lookup: ''
-
lvm__config
¶
Dictionary variable with LVM configuration which will be merged with base
lvm.conf
configuration variables. Each key is a section name, and values
are dictionary variables themselves. See files in var/
directory for
examples and possible values.
lvm__config:
global:
use_lvmetad: '{{ lvm__global_use_lvmetad }}'
devices:
filter: '{{ lvm__devices_filter }}'
global_filter: '{{ lvm__devices_global_filter }}'
Volume Groups and Logcal Volumes¶
-
lvm__default_fs_type
¶
Default filesystem used to format and mount volumes if none is specified.
lvm__default_fs_type: 'ext4'
-
lvm__default_mount_options
¶
Default mount options used to mount volumes, comma-separated.
lvm__default_mount_options: 'defaults'
-
lvm__volume_groups
¶
List of Volume Groups, each one defined as a YAML dict. See lvm__volume_groups for more details.
lvm__volume_groups: []
-
lvm__thin_pools
¶
List of LVM thin pools, each one defined as a yaml dict. see lvm__thin_pools for more details.
lvm__thin_pools: []
-
lvm__logical_volumes
¶
List of Logical Volumes, each one defined as a YAML dict. See lvm__logical_volumes for more details.
lvm__logical_volumes: []