47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
---
|
|
###############################################################################
|
|
# Seed node LVM configuration.
|
|
|
|
# List of seed volume groups. See mrlesmithjr.manage-lvm role for format.
|
|
seed_lvm_groups: "{{ seed_lvm_groups_default + seed_lvm_groups_extra }}"
|
|
|
|
# Default list of seed volume groups. See mrlesmithjr.manage-lvm role for
|
|
# format.
|
|
seed_lvm_groups_default:
|
|
- "{{ seed_lvm_group_data }}"
|
|
|
|
# Additional list of seed volume groups. See mrlesmithjr.manage-lvm role for
|
|
# format.
|
|
seed_lvm_groups_extra: []
|
|
|
|
# Seed LVM volume group for data. See mrlesmithjr.manage-lvm role for format.
|
|
seed_lvm_group_data:
|
|
vgname: data
|
|
disks: "{{ seed_lvm_group_data_disks | join(',') }}"
|
|
create: True
|
|
lvnames: "{{ seed_lvm_group_data_lvs }}"
|
|
|
|
# List of disks for use by seed LVM data volume group. Default to an invalid
|
|
# value to require configuration.
|
|
seed_lvm_group_data_disks:
|
|
- changeme
|
|
|
|
# List of LVM logical volumes for the data volume group.
|
|
seed_lvm_group_data_lvs:
|
|
- "{{ seed_lvm_group_data_lv_docker_volumes }}"
|
|
|
|
# Docker volumes LVM backing volume.
|
|
seed_lvm_group_data_lv_docker_volumes:
|
|
lvname: docker-volumes
|
|
size: "{{ seed_lvm_group_data_lv_docker_volumes_size }}"
|
|
create: True
|
|
filesystem: "{{ seed_lvm_group_data_lv_docker_volumes_fs }}"
|
|
mount: True
|
|
mntp: /var/lib/docker/volumes
|
|
|
|
# Size of docker volumes LVM backing volume.
|
|
seed_lvm_group_data_lv_docker_volumes_size: 75%VG
|
|
|
|
# Filesystem for docker volumes LVM backing volume. ext4 allows for shrinking.
|
|
seed_lvm_group_data_lv_docker_volumes_fs: ext4
|