ganeti-ansible/group_vars/all.yml

61 lines
1.1 KiB
YAML
Raw Normal View History

2024-11-26 14:56:58 +00:00
packages:
- git
- lvm2
- linux-headers-amd64
- ganeti
2024-12-09 12:51:59 +00:00
- ganeti-instance-debootstrap
2024-11-26 14:56:58 +00:00
- drbd-utils
- socat
- python3
2025-02-24 00:48:14 +00:00
- xen-hypervisor
- xen-hypervisor-common
- xen-utils
- xen-tools
2024-12-09 12:51:59 +00:00
- qemu-system-x86
2025-02-24 00:48:14 +00:00
- qemu-system-xen
- qemu-utils
2024-11-26 14:56:58 +00:00
- 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:
2025-02-23 18:07:24 +00:00
- "192.168.1.1"
2024-11-26 14:56:58 +00:00
- "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:
2025-02-24 00:48:14 +00:00
- /dev/vda6
2024-12-09 12:51:59 +00:00
# ganeti
instance_debootstrap:
- name: default
arch: amd64
suite: bookworm
2024-12-23 14:48:31 +00:00
extra_pkgs: "acpi-support-base,udev,linux-image-amd64,sudo,vim,grub-pc,openssh-server"
2025-02-23 18:07:24 +00:00
rapi:
- name: admin
hash: b0e8418ff15cda34f6942ead9ed96aae
write: true