Added distro check
Abort processing if target does not seem to be a Proxmox box
This commit is contained in:
parent
17eac6723b
commit
ff7aa5cdb4
@ -1,5 +1,9 @@
|
||||
---
|
||||
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user