Commit Graph

11 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
3dc3d1d8ca Change code-style to comply with linting rule 601 2020-05-10 18:26:30 +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
6c0156850b Apt module changed format 2020-04-14 21:21:39 +02:00
bbbbce3137 Improved stability of role pve-nginx-redirector
- Automatically install nginx-light if nginx is not installed at all
- Create custom systemd unit file modifying startup preceedence of nginx
  This also fixes #1
2019-01-06 06:23:56 +01: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
Jan-Jonas Sämann
e916da0667 Added role pve-nginx-redirector
roles:
  - pve-nginx-redirector

For a more admin friedly workflow this patch configures nginx to
redirect everything http://:80 and https://:443 to https://:8006 using
pve's own self-signed certificates for https://
2019-01-05 02:38:22 +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
f8b80258e3 initial commit 2019-01-04 19:27:04 +01:00