/ansible-collection-proxmox

A collection for managing Proxmox VE hosts and their guests

Primary LanguagePython

Ansible Collection - maxhoesel.proxmox

A collection for managing Proxmox VE and Backup Server hosts.

Currently contains the following components:

Roles

  • lxc_container: Creates and bootstraps LXC containers for Ansible access
  • lxc_container_to_ostemplate: Generates a ostemplate image from an existing container
  • pve: Perform basic system-level setup tasks on PVE nodes (such as setting the PVE repository and configuring the root user)
  • pbs: Perform basic system-level setup tasks on Proxmox Backup Server hosts (such as setting the PBS repository and configuring the root user + S.M.A.R.T)

Modules

Proxmox VE
  • proxmox_ha: Configure HA settings for a VM or Container
Proxmox Backup Server
  • pbs_user: Configure users on a Proxmox Backup Server

Requirements & Installation

The modules in this collection are written for Python 3.6 or newer.

Most modules and roles in this collection require the proxmoxer and requests Python module.

  • Installation with pip (venv recommended): pip3 install proxmoxer requests

To install this collection: ansible-galaxy collection install maxhoesel.proxmox

License

GNU GPL3 or later

Author

Max Hösel ansible@maxhoesel.de