ganeti-ansible/group_vars/all.yml
2025-02-24 01:48:14 +01:00

61 lines
1.1 KiB
YAML

packages:
- git
- lvm2
- linux-headers-amd64
- ganeti
- ganeti-instance-debootstrap
- drbd-utils
- socat
- python3
- xen-hypervisor
- xen-hypervisor-common
- xen-utils
- xen-tools
- qemu-system-x86
- qemu-system-xen
- qemu-utils
- 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.1.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
vg_name: xenvg
pvs:
- /dev/vda6
# ganeti
instance_debootstrap:
- name: default
arch: amd64
suite: bookworm
extra_pkgs: "acpi-support-base,udev,linux-image-amd64,sudo,vim,grub-pc,openssh-server"
rapi:
- name: admin
hash: b0e8418ff15cda34f6942ead9ed96aae
write: true