No description
This repository has been archived on 2024-08-03. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2024-07-07 19:17:47 +00:00
files Remove libvirt exporter, add ZFS exporter 2022-10-19 11:45:07 +00:00
group_vars some changes for borr 2024-04-08 07:13:48 +00:00
host_vars docker05: mute host 2024-07-07 19:09:16 +00:00
tasks Fix includes 2024-05-07 17:50:20 +00:00
templates Dont set hwaddress on untagged nic, set bridge-stp & bridge-fd, use cidr not netmask 2024-02-19 18:59:59 +00:00
.gitignore Remove libvirt exporter, add ZFS exporter 2022-10-19 11:45:07 +00:00
ansible.cfg Improve ansible output 2024-03-11 19:27:01 +00:00
create_snapshot.yml Join snapshot_name with dashes, replace dots with underlines 2022-10-26 06:13:29 +00:00
inventory decomission matrix servers 2024-07-03 08:48:43 +00:00
manage_vms.yml Fix includes 2024-05-07 17:50:20 +00:00
networking.yml remove ifenslave 2024-02-17 16:30:02 +00:00
proxmox.yml Move mani to proxmox_ng cluster, Add admin04 2023-03-12 17:53:00 +00:00
README.md Update README 2023-02-03 23:26:47 +01:00
remove_snapshot.yml Add playbook to remove snapshot 2023-03-28 15:55:05 +00:00
renovate.json Configure Renovate (#7) 2022-10-27 11:21:37 +00:00
requirements.txt chore(deps): update dependency ansible to v10.1.0 2024-07-07 19:17:47 +00:00
requirements.yml chore(deps): update dependency geerlingguy.ntp to v2.4.0 2024-03-09 22:01:31 +00:00
rollback_snapshot.yml Add playbook to rollback to a snapshot 2023-03-28 08:56:50 +00:00

Ansible playbooks to kickstart VMs on proxmox

This repository contains all the playbooks and files to setup and manage proxmox.

Installing proxmox

The proxmox.yml playbook installs proxmox on a Node, and if configured adds that node to the proxmox cluster.
It will also configure all required bridges and vlan interfaces in a way that proxmox is able to use them.

Managing VMs

Additionally the manage_vms.yml is able to create and destroy VMs on that cluster. While not all proxmox features are supported by ansible, it at least supports adding multiple network interfaces (with a static IP through cloud-init).
If a static IP is configured the playbook will also create DNS entries in pihole (dnsmasq).

When removing a VM all dns entries, as well as zfs volumes will be removed as well.

Creating snapshots

Last but not least there is a playbook to create snapshots for a list of VMs.

ansible-playbook create_snapshot.yml -l ~k3s-c-.* --list-hosts