simoncaron.pve_addons
Ansible Role: Proxmox VE Addons
This is an Ansible role that sets up special features for Proxmox VE 7. It helps to configure repositories for users without subscriptions, removes annoying subscription messages, and turns on a dark theme.
The removal of subscription messages and dark theme installation are tied to package management, ensuring that they remain even when Proxmox packages are updated.
Requirements
You need to have git
installed on the target machine if you want to use the DiscordDarkTheme. It will be installed automatically if it's not already there.
Role Variables
Here are the available settings with their default values (see defaults/main.yml
):
pve_addons_enable_dark_theme
: truepve_addons_remove_subscription_nag
: truepve_addons_disable_enterprise_repo
: falsepve_addons_remove_enterprise_repo
: truepve_addons_add_no_subscription_repo
: trueThe
pve_addons_enable_dark_theme
setting allows the installation of the PVEDiscordDark theme.The
pve_addons_add_no_subscription_repo
andpve_addons_remove_enterprise_repo
settings, when activated, add a repo for users without subscriptions and remove the enterprise repo.You can keep the enterprise repo file but deactivate it by setting
pve_addons_disable_enterprise_repo
totrue
and turning offpve_addons_remove_enterprise_repo
.The
pve_addons_remove_subscription_nag
setting removes subscription warnings in the Proxmox user interface.
Dependencies
None.
Example Playbook
- hosts: localhost
vars:
pve_addons_enable_dark_theme: true
pve_addons_remove_subscription_nag: true
pve_addons_remove_enterprise_repo: true
pve_addons_add_no_subscription_repo: true
roles:
- simoncaron.pve_addons
License
MIT
This role is based on parts from these repositories:
- https://github.com/ironicbadger/ansible-role-proxmox-nag-removal
- https://github.com/marrobHD/proxmox-tools
Author Information
This role was created in 2022 by Simon Caron.
A role to configure dark mode, repositories, nag removal on Proxmox VE 7.2
ansible-galaxy install simoncaron.pve_addons