ansible-arch-libvirt-lab/kvm_provision.yml

18 lines
308 B
YAML
Raw Normal View History

2022-11-10 05:35:37 +00:00
---
- name: Deploys VM based on cloud image
hosts: localhost
gather_facts: yes
become: yes
vars:
vm: arch-lab01
cleanup: yes
tasks:
- name: KVM Provision role
include_role:
name: kvm_provision
vars:
vm_name: "{{ vm }}"
cleanup_tmp: "{{ cleanup }}"