Infra_mgmt/roles/bootstrap_vm/tasks/main.yml

19 lines
393 B
YAML
Raw Permalink Normal View History

2023-08-19 12:53:03 +02:00
---
# tasks file for bootstrap_vm
- name: Verify required vars are fullfiled
assert:
that:
- "{{ item }} is defined"
- "{{ item }} | length > 0"
quiet: true
fail_msg: "{{ item }} is undefined or null"
loop:
- proxmox_token
- proxmox_password
- proxmox_host
- proxmox_node
- proxmox_template
- import_tasks: init_vm.yml
delegate_to: localhost