{"repo":"Dilden/Ansible-Proxmox-Automation","free":true,"listed":false,"github":"https://github.com/Dilden/Ansible-Proxmox-Automation","clone":"git clone https://github.com/Dilden/Ansible-Proxmox-Automation.git","description":"automating my homelab","language":null,"stars":118,"topics":["ansible","automation","proxmox"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Dilden's Ansible + Proxmox Homelab Automation What is this? This repo contains the Ansible playbooks and configuration used to manage and automate my Proxmox based homelab. It makes use of the proxmox and proxmox kvm modules. Requirements Ansible python = 2.7 proxmoxer requests Installation Clone this repo Ensure you also have Ansible (and all other requirements) installed The main points Configuration is set in ansible.cfg . This exists only to tell Ansible where to look for server definitions (inventory). Servers (inventory) are defined in the hosts file and are placed in \"groups\" defined by [] The group vars folder contains variables and credentials for use with the servers in those groups. creds.yml will need to be created via ansible-vault create in the appropriate folder and will need to be configured like so: Just as the host API key needs to be set in group vars/host/creds.yml, the containers will need to have passwords configured within group vars/containers/creds.yml matching the appropriate variables set in group vars/containers/vars.yml. After setting up everything, run ansible-playbook books\\prep-host.yml to ensure proxmoxer and other various dependencies are installed on the host. Usage Note: Only commands run on the host will need to be run with --ask-vault-pass appended to them to work with this config. Commands run inside containers will be able to connect via SSH if using the create-containers.yml playbook since it automatically adds the SSH key to each of t","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dilden","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dilden/Ansible-Proxmox-Automation/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}