From 1bfb42e25ddf4443f7a5db3b7a622cdedb7bf459 Mon Sep 17 00:00:00 2001 From: rbales79 <30395637+rbales79@users.noreply.github.com> Date: Wed, 25 Nov 2020 11:53:00 -0500 Subject: [PATCH] Update vm-create-multiple.yml --- vm-create-multiple.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vm-create-multiple.yml b/vm-create-multiple.yml index a7ac8d7..b299621 100644 --- a/vm-create-multiple.yml +++ b/vm-create-multiple.yml @@ -27,7 +27,15 @@ memory_mb: "{{ memory | default(8196) }}" num_cpus: "{{ cpus default(2) }}" scsi: paravirtual + customization: + dns_servers: + - '{{ guest_dns_server }}' + domain : '{{ guest_domain_name }}' + hostname: '{{ inventory_hostname }}' linked_clone: "{{ linked_clone }}" + snapshot_src: "{{ snapshot_name }}" state: poweredon + wait_for_ip_address: True with_items: "{{ servers }}" + delegate_to: localhost