Go to file
2024-12-09 13:51:59 +01:00
group_vars debootstrap 2024-12-09 13:51:59 +01:00
roles init 2024-11-26 15:56:58 +01:00
inventory init 2024-11-26 15:56:58 +01:00
master.yml init 2024-11-26 15:56:58 +01:00
node.yml init 2024-11-26 15:56:58 +01:00
Readme.md init 2024-11-26 15:56:58 +01:00
worker.yml init 2024-11-26 15:56:58 +01:00

Ganeti cluster deployment using Ansible

Setup a Ganeti cluster on Debian VMs.

How to use

  • First, edit the inventory file.
  • Disable secure boot (if using UEFI).
  • Then:
# allow ansible to use the ssh key
ssh-agent $SHELL
ssh-add ~/.ssh/id_rsa

# setup nodes
ansible-playbook -i inventory -u root node.yml

# setup master
ansible-playbook -i inventory -u root master.yml

# setup workers
ansible-playbook -i inventory -u root worker.yml

Features

  • static IP using systemd-networkd (using the last IP of the server before running the playbook)
  • zfs extstorage