878 B
878 B
proxmox-ansible
Ansible playbooks to manage proxmox in a variety of ways
Requirements
- Linux (or WSL) or Mac
- Python 3
Getting Started
- Clone this repository:
git clone https://c0de.dev/c0de/proxmox-ansible
- Enter this repository:
cd proxmox-ansible
- Create a Python virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- (Optional) Upgrade pip:
pip3 install --upgrade pip
- Install requirements:
pip3 install -r requirements.txt
- Install Ansible General Community Collection:
ansible-galaxy collection install community.general
- Note: This might already be installed.
Running Playbooks
- Enter the playbook directory:
cd playbooks
- Run
./play.sh <playbook-name>.yml
- The script will record a log of the output, as well as timing information in logs