Commit Graph

6 Commits

Author SHA1 Message Date
8c9ce3ded4 Fail role/pve-subscribe on incompatible target
Allow role/pve-subscribe to fail on incompatible target without failing
the entire playbook run. This allows the playbook to easely setup the
environment against non-proxmox targets.
2020-05-10 19:47:42 +02:00
3a62659528 Add default variable in role/pve-subscribe
A new inventory variable `pve_subcription_key` now controls wether the enterprise
or no-subscription package repository is used.
2020-05-10 18:22:34 +02:00
edbfe7db71 Dynamic os-release while deploy dependend apt-sources 2020-05-10 17:43:18 +02:00
ff7aa5cdb4 Added distro check
Abort processing if target does not seem to be a Proxmox box
2019-01-06 04:40:43 +01:00
17eac6723b Added conditional repo config to pve-subscribe
This commit introduces a new inventory host variable:
 pve_enterprise=False
If set to True, apt sources and environment on the target is configured for
subscribed operation. If set to False annoying "subscribe me" popups are
disabled and apt sources are configured to the no-subscription
repositorys. The default value is False.

Proxmox's default state after installation is similar to
pve_enterprise=True.

This Role must be called before first apt call.
2019-01-05 23:14:33 +01:00
16bd6ae321 Added pve-subscribe role
This role disables subscription dialog after logging in to PVE's web-ui
2019-01-04 21:02:01 +01:00