e0571783ba23a0e673452b21460839cdceba2437
ansible_home
How to use it?
It's better to use a virtual environment to avoid incompatibility issues
git clone https://git.vmn.su/max/vmn-ansible
cd vmn-ansible
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
ansible-galaxy collection install -r requirements.yaml
ansible-galaxy role install -r requirements.yaml
ansible-playbook playbooks/deploy_and_set_up_lxc_on_proxmox.yaml --vault-pass-file $VAULT_PASS_PATH -i inventory/localhost.yaml --private-key $SSH_KEY
deploy playbooks must be used with inventory/localhost.yaml, they need access to proxmox host only
There are also a systemd service and timer under systemd directory
Languages
Python
76.4%
Shell
17.4%
Lua
6.2%