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.
This commit is contained in:
parent
edbfe7db71
commit
3a62659528
1
roles/pve-subscribe/defaults/main.yml
Normal file
1
roles/pve-subscribe/defaults/main.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
pve_subscription_key: Null
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
- name: Configuring pve for unsubscribed operation
|
- name: Configuring pve for unsubscribed operation
|
||||||
import_tasks: no-subscription.yml
|
import_tasks: no-subscription.yml
|
||||||
when: pve_enterprise | default(False) != True
|
when: pve_subscription_key | length == 0
|
||||||
|
|
||||||
- name: Configuring pve for licensed operation
|
- name: Configuring pve for licensed operation
|
||||||
import_tasks: enterprise.yml
|
import_tasks: enterprise.yml
|
||||||
when: pve_enterprise | default(False) == True
|
when: pve_subscription_key | length != 0
|
||||||
|
Loading…
Reference in New Issue
Block a user