ganeti-ansible/group_vars/all.yml
2024-12-23 15:48:31 +01:00

56 lines
1.0 KiB
YAML

packages:
- git
- lvm2
- linux-headers-amd64
- zfs-dkms
- zfsutils-linux
- ganeti
- ganeti-instance-debootstrap
- drbd-utils
- socat
- python3
- qemu-system-x86
- systemd-resolved # needs to be the last one
# breaks dns resolution until
# systemd-networkd is configured
# network
cluster_name: cluster.ganeti
interface_name: lan0
bridge_name: xenbr0
mac_prefix: "02:42:ac"
gateway: "192.168.50.254"
dns_servers:
- "192.168.11.1"
- "1.1.1.1"
# hostnames:
# - ip: x.x.x.x
# name: example
# ...
hostnames:
- ip: "192.168.50.30"
name: "{{ cluster_name }}"
- ip: "192.168.50.31"
name: test-31.ganeti
- ip: "192.168.50.32"
name: test-32.ganeti
- ip: "192.168.50.33"
name: test-33.ganeti
# storage
zpool_name: ganeti-pool
zpool_dev: /dev/vdc
vg_name: xenvg
pvs:
- /dev/vdb
# ganeti
instance_debootstrap:
- name: default
arch: amd64
suite: bookworm
extra_pkgs: "acpi-support-base,udev,linux-image-amd64,sudo,vim,grub-pc,openssh-server"