--- - 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 }}"