47 lines
817 B
YAML
47 lines
817 B
YAML
|
packages:
|
||
|
- git
|
||
|
- lvm2
|
||
|
- linux-headers-amd64
|
||
|
- zfs-dkms
|
||
|
- zfsutils-linux
|
||
|
- ganeti
|
||
|
- drbd-utils
|
||
|
- socat
|
||
|
- python3
|
||
|
- 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
|