| .vscode | ||
| files | ||
| group_vars | ||
| host_vars | ||
| inventory | ||
| roles | ||
| tasks | ||
| templates | ||
| .gitignore | ||
| admin.yml | ||
| ansible.cfg | ||
| backup.yml | ||
| base.yml | ||
| collabora.yml | ||
| debian.yml | ||
| docker.yml | ||
| elasticsearch.yml | ||
| firewall.yml | ||
| k3s-cluster.yml | ||
| k8s-cluster.yml | ||
| mounts.yml | ||
| mysql.yml | ||
| nextcloud.yml | ||
| nginx.yml | ||
| php.yml | ||
| plex.yml | ||
| postgres.yml | ||
| prometheus.yml | ||
| proxmox_nodes.yml | ||
| public-uptime.yml | ||
| public.yml | ||
| README.md | ||
| redis.yml | ||
| renovate.json | ||
| requirements.txt | ||
| requirements.yml | ||
| restart-playbook.yml | ||
| sabnzbd.yml | ||
| site.yml | ||
| smtprelay.yml | ||
| syslog.yml | ||
| ubuntu.yml | ||
| wireguard.yml | ||
Ansible Home NG
This is my new ansible home environment based on a proxmox node, and provisioned using the ansible-proxmox repository.
Within the ansible-proxmox repo, the physical hosts are provisioned and the VMs created (might move that to terraform if I'm bored enough), and this repo here, provisions the VMs after the initial setup is done using cloud-init.
The goal is to have a reproducible environment, that is easy to extend.
Inventory
The inventory is based on a dynamic proxmox inventory, using tags as groups. This way adding new hosts to ansible is done automatically, and no further
steps are necesary.
Since prometheus is using the proxmox-pve-sd for service discovery it's even ensured that new hosts are automatically monitored.
Passwords
For now all passwords/credentials are stored in ansible vaults, this includes the proxmox credentials used for the dynamic inventory.
Templating:
User https://j2live.ttl255.com/ to validate your templates
Certificates
Add the following to /bin/activate
export REQUESTS_CA_BUNDLE='/etc/ssl/certs/ca-certificates.crt'