kayobe/ansible/group_vars/all/seed
Mark Goddard 52833cf481 Use static IP on provisioning network to access the seed
This saves us some messing around with the dynamic libvirt IP address
and writing out the IP address to the Ansible inventory.
2017-03-16 13:57:14 +00:00

54 lines
1.8 KiB
Plaintext

---
###############################################################################
# Seed node configuration.
# User with which to access the seed via SSH during bootstrap, in order to
# setup the Kayobe user account.
seed_bootstrap_user: "{{ lookup('env', 'USER') }}"
###############################################################################
# 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