Go to file
2024-01-21 15:20:14 -05:00
.vscode Export a VSCode profile to install extensions, update settings 2024-01-21 13:19:35 -05:00
logs Initial Commit 2024-01-21 12:58:06 -05:00
playbooks change var name to match group 2024-01-21 15:20:14 -05:00
.editorconfig update editorconfig for yml files 2024-01-21 13:29:14 -05:00
.gitignore Initial Commit 2024-01-21 12:58:06 -05:00
license.txt Initial Commit 2024-01-21 12:58:06 -05:00
readme.md Initial Commit 2024-01-21 12:58:06 -05:00
requirements.txt install proxmoxer and requests 2024-01-21 14:16:38 -05:00

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