tenks/ansible/libvirt_create_vms.yml
2018-08-23 11:44:55 +00:00

12 lines
337 B
YAML

---
- name: Create VM
include_role:
name: stackhpc.libvirt-vm
vars:
libvirt_vm_default_console_log_dir: "{{ console_log_directory }}"
# Configure VM definitions for the Libvirt provider.
libvirt_vms: >-
{{ vms | map('set_libvirt_interfaces')
| map('set_libvirt_volume_pool')
| list }}