vh-ansible/roles/pve-subscribe/tasks/main.yml

14 lines
467 B
YAML

---
- 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
- name: Configuring pve for unsubscribed operation
import_tasks: no-subscription.yml
when: pve_enterprise | default(False) != True
- name: Configuring pve for licensed operation
import_tasks: enterprise.yml
when: pve_enterprise | default(False) == True