| .vscode | ||
| files | ||
| group_vars | ||
| host_vars | ||
| inventory | ||
| playbooks | ||
| roles | ||
| tasks | ||
| templates | ||
| .ansible-lint | ||
| .cz.yaml | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| ansible.cfg | ||
| README.md | ||
| renovate.json | ||
| requirements.txt | ||
| requirements.yml | ||
Ansible Home Borr
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 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 necessary.
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'