mullholland.proxmox_pve

Ansible role proxmox_pve

Manage pve repositories and asprcts of the server

GitHub Downloads Version
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_pve"

Role Variables

The default values for the variables are set in defaults/main.yml:

---
# Mostly tested and planned for Proxmox 7+/Debian 11 Bullseye
# Older versions may work

# https://pve.proxmox.com/wiki/Package_Repositories#repos_secure_apt
proxmox_pve_repository_key: "https://enterprise.proxmox.com/debian/proxmox-release-{{ ansible_distribution_release }}.gpg"

# manages the Proxmox /etc/apt/sources.list
proxmox_pve_enable_default_repository: true

# Disable Enterprise Repository
# https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_enterprise_repo
proxmox_pve_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_pve_enable_no_subscription_repository: true

# Enable the Ceph Repository
# https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_package_repositories_ceph
proxmox_pve_enable_ceph_repository: false
# default is "pacific" can be "octopus" for legacy installations
proxmox_pve_enable_ceph_repository_release: "pacific"
# possible "main" or "test"
proxmox_pve_enable_ceph_repository_version: "main"

# manage cpu govenor
proxmox_pve_cpu_govenor_manage: true
# possible values
# - "conservative"
# - "ondemand"
# - "userspace"
# - "powersave"
# - "performance"
# - "schedutil"
proxmox_pve_cpu_govenor: "performance"
proxmox_pve_cpu_govenor_conf: "/etc/default/cpufrequtils"
proxmox_pve_cpu_govenor_dependencies:
  - "cpufrequtils"

Requirements

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: dependencies

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

Mullholland

About

Manage pve repositories and asprcts of the server

Install
ansible-galaxy install mullholland.proxmox_pve
GitHub repository
License
apache-2.0
Downloads
149