proxmox-ansible/readme.md

878 B

proxmox-ansible

Ansible playbooks to manage proxmox in a variety of ways

Requirements

  1. Linux (or WSL) or Mac
  2. Python 3

Getting Started

  1. Clone this repository: git clone https://c0de.dev/c0de/proxmox-ansible
  2. Enter this repository: cd proxmox-ansible
  3. Create a Python virtual environment: python3 -m venv .venv
  4. Activate the virtual environment: source .venv/bin/activate
  5. (Optional) Upgrade pip: pip3 install --upgrade pip
  6. Install requirements: pip3 install -r requirements.txt
  7. Install Ansible General Community Collection: ansible-galaxy collection install community.general
    • Note: This might already be installed.

Running Playbooks

  1. Enter the playbook directory: cd playbooks
  2. Run ./play.sh <playbook-name>.yml
    • The script will record a log of the output, as well as timing information in logs