ganeti-ansible/Readme.md
2025-02-24 01:48:14 +01:00

25 lines
577 B
Markdown

# Ganeti cluster deployment using Ansible
Setup a Ganeti cluster on Debian VMs.
## How to use
- First, edit the inventory file.
- DON'T use UEFI
- Then:
```sh
# 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 ganeti web manager
ansible-playbook -i inventory -u root web-manager.yml
```
## Features
- static IP using systemd-networkd (using the last IP of the server before running the playbook)
- ganeti web manager