2019-01-04 19:44:57 +01:00
|
|
|
---
|
|
|
|
|
2019-01-06 04:40:43 +01:00
|
|
|
- name: Assert incompatible target
|
|
|
|
fail: msg="Target doesn't look like a Proxmox instance. Proceeding would cause damage to the target."
|
|
|
|
when: ansible_facts.cmdline.BOOT_IMAGE.find('-pve') == -1
|
|
|
|
|
2019-01-05 22:52:41 +01:00
|
|
|
- name: Configuring pve for unsubscribed operation
|
|
|
|
import_tasks: no-subscription.yml
|
2020-05-10 18:22:34 +02:00
|
|
|
when: pve_subscription_key | length == 0
|
2019-01-04 19:44:57 +01:00
|
|
|
|
2019-01-05 22:52:41 +01:00
|
|
|
- name: Configuring pve for licensed operation
|
|
|
|
import_tasks: enterprise.yml
|
2020-05-10 18:22:34 +02:00
|
|
|
when: pve_subscription_key | length != 0
|