From 9cbf9a55a682d2401602c5a5670130a393ee6ef5 Mon Sep 17 00:00:00 2001 From: Will Miller Date: Tue, 21 Aug 2018 16:58:06 +0000 Subject: [PATCH] WIP: Create Libvirt VMs --- ansible/create_libvirt_vms.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ansible/create_libvirt_vms.yml diff --git a/ansible/create_libvirt_vms.yml b/ansible/create_libvirt_vms.yml new file mode 100644 index 0000000..654fe16 --- /dev/null +++ b/ansible/create_libvirt_vms.yml @@ -0,0 +1,12 @@ +--- +- name: Create VM + include_role: + name: stackhpc.libvirt-vm + vars: + libvirt_vm_default_console_log_dir: "{{ console_log_directory }}" + libvirt_vms: + - state: present + name: + run_once: true + # FIXME(w-miller): Schedule to different hypervisors. + delegate_to: "{{ groups['libvirt'][0] }}"