mullholland.proxmox_pbs
Ansible role proxmox_pbs
configure proxmox backup server
| GitHub | Downloads | Version |
|---|---|---|
Example Playbook
This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: "mullholland.proxmox_pbs"
The machine needs to be prepared. In CI this is done using molecule/default/prepare.yml:
---
- name: Prepare
hosts: all
become: true
gather_facts: true
tasks:
- name: Copy PVE Repository Template
ansible.builtin.copy:
content: |
deb https://enterprise.proxmox.com/debian/pbs {{ ansible_distribution_release }} pbs-enterprise
dest: /etc/apt/sources.list.d/pbs-enterprise.list
Role Variables
The default values for the variables are set in defaults/main.yml:
---
# Mostly tested and planned for Proxmox Backuper Server 2+/Debian 11 Bullseye
# Older versions may work
# https://pbs.proxmox.com/docs/installation.html#secureapt
proxmox_pve_repository_key: "https://enterprise.proxmox.com/debian/proxmox-release-{{ ansible_distribution_release }}.gpg"
# manages the Proxmox /etc/apt/sources.list
proxmox_pbs_enable_default_repository: true
# Disable Enterprise Repository
# https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_enterprise_repo
proxmox_pbs_enable_enterprise_repository: false
# Enable the no subscription repository
# https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo
# NOT recommended for production use
proxmox_pbs_enable_no_subscription_repository: true
Requirements
- pip packages listed in requirements.txt.
Context
This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.
Here is an overview of related roles:

Compatibility
This role has been tested on these container images:
| container | tags |
|---|---|
| Debian | all |
The minimum version of Ansible required is 2.10, tests have been done to:
- The previous version.
- The current version.
- The development version.
If you find issues, please register them in GitHub.
License
MIT.
Author Information
Install
ansible-galaxy install mullholland.proxmox_pbsLicense
apache-2.0
Downloads
100
Owner
