<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">cloud/vmware_guest.py</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ansible/infra/library', u'/usr/lib/python2.7/site-packages/ara/plugins/modules']
  python version = 2.7.5 (default, Sep 15 2016, 22:37:39) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ansible/infra/library', u'/usr/lib/python2.7/site-packages/ara/plugins/modules']
  python version = 2.7.5 (default, Sep 15 2016, 22:37:39) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">N.A.</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Red Hat Enterprise Linux 7.3<br>
VMware Vsphere 6.0</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">When you try to create a 2-disks vm with each disk on a different datastore, both are created on the datastore specified as the first one.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Create a playbook with the below example and specify 2 different datastores as the <em>datastore</em> and the <em>disk2_datastore</em> variables.</p>

<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: Create VM from template
  vmware_guest:
    name: &quot;{{ inventory_hostname }}&quot;

    hostname: &quot;{{ vcenter_hostname }}&quot;
    username: &quot;{{ vcenter_user }}&quot;
    password: &quot;{{ vcenter_pass }}&quot;
    validate_certs: False

    esxi_hostname: &quot;{{ esxhost }}&quot;
    datacenter: &quot;{{ datacenter }}&quot;

    template: '{{ os_family}}{{ os_vers }}{{os_arch}}-template'
    folder: &quot;{{ folder | default('/vm') }}&quot;

    hardware:
      num_cpus: &quot;{{ vm_cpus }}&quot;
      memory_mb: &quot;{{ vm_memory * 1024 | default(1024) }}&quot;

    disk:
      - size_gb: &quot;{{ disk_size | default(10) }}&quot;
        type: thin
        datastore: &quot;{{ datastore }}&quot;
        autoselect_datastore: False
      - size_gb: &quot;{{ disk2_size | default(10) }}&quot;
        type: thin
        datastore: &quot;{{ disk2_datastore }}&quot;
        autoselect_datastore: False

    networks:
      - name: &quot;{{ vlan }}&quot;
        ip: &quot;{{ primary_ip }}&quot;
        netmask: &quot;{{ netmask }}&quot;
        gateway: &quot;{{ gateway }}&quot;
      - name: &quot;{{ nic2_vlan }}&quot;
        ip: &quot;{{ nic2_ip }}&quot;
        netmask: &quot;{{ nic2_netmask }}&quot;

    customization:
      domain: &quot;{{ domain }}&quot;
      dns_servers: &quot;{{ dns_servers }}&quot;

    annotation: &quot;Created with Ansible&quot;
    wait_for_ip_address: true

  register: newvm
  delegate_to: localhost
"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s">Create VM from template</span>
  <span class="pl-ent">vmware_guest</span>:
    <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ inventory_hostname }}<span class="pl-pds">"</span></span>

    <span class="pl-ent">hostname</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vcenter_hostname }}<span class="pl-pds">"</span></span>
    <span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vcenter_user }}<span class="pl-pds">"</span></span>
    <span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vcenter_pass }}<span class="pl-pds">"</span></span>
    <span class="pl-ent">validate_certs</span>: <span class="pl-c1">False</span>

    <span class="pl-ent">esxi_hostname</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ esxhost }}<span class="pl-pds">"</span></span>
    <span class="pl-ent">datacenter</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ datacenter }}<span class="pl-pds">"</span></span>

    <span class="pl-ent">template</span>: <span class="pl-s"><span class="pl-pds">'</span>{{ os_family}}{{ os_vers }}{{os_arch}}-template<span class="pl-pds">'</span></span>
    <span class="pl-ent">folder</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ folder | default('/vm') }}<span class="pl-pds">"</span></span>

    <span class="pl-ent">hardware</span>:
      <span class="pl-ent">num_cpus</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vm_cpus }}<span class="pl-pds">"</span></span>
      <span class="pl-ent">memory_mb</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vm_memory * 1024 | default(1024) }}<span class="pl-pds">"</span></span>

    <span class="pl-ent">disk</span>:
      - <span class="pl-ent">size_gb</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ disk_size | default(10) }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">type</span>: <span class="pl-s">thin</span>
        <span class="pl-ent">datastore</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ datastore }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">autoselect_datastore</span>: <span class="pl-c1">False</span>
      - <span class="pl-ent">size_gb</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ disk2_size | default(10) }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">type</span>: <span class="pl-s">thin</span>
        <span class="pl-ent">datastore</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ disk2_datastore }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">autoselect_datastore</span>: <span class="pl-c1">False</span>

    <span class="pl-ent">networks</span>:
      - <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ vlan }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">ip</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ primary_ip }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">netmask</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ netmask }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">gateway</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ gateway }}<span class="pl-pds">"</span></span>
      - <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ nic2_vlan }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">ip</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ nic2_ip }}<span class="pl-pds">"</span></span>
        <span class="pl-ent">netmask</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ nic2_netmask }}<span class="pl-pds">"</span></span>

    <span class="pl-ent">customization</span>:
      <span class="pl-ent">domain</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ domain }}<span class="pl-pds">"</span></span>
      <span class="pl-ent">dns_servers</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ dns_servers }}<span class="pl-pds">"</span></span>

    <span class="pl-ent">annotation</span>: <span class="pl-s"><span class="pl-pds">"</span>Created with Ansible<span class="pl-pds">"</span></span>
    <span class="pl-ent">wait_for_ip_address</span>: <span class="pl-c1">true</span>

  <span class="pl-ent">register</span>: <span class="pl-s">newvm</span>
  <span class="pl-ent">delegate_to</span>: <span class="pl-s">localhost</span>
</pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">The new vm is created with the each disk on the his own datastore</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">The new vm is created with the both disks on the same datastore</p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">vmware_guest</p>
<h5 dir="auto">ANSIBLE VERSION</h5>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0
  config file = /opt/it-infra/ansible.cfg
  configured module search path = [u'/opt/it-infra/library']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]"><pre class="notranslate"><code class="notranslate">ansible 2.4.0
  config file = /opt/it-infra/ansible.cfg
  configured module search path = [u'/opt/it-infra/library']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">VMware Vsphere 6.5 Cluster<br>
Deploy Windows Server 2016 Template with additional disks,...</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">When a VM gets created from an Template and new Disks getting added on different Datastore<br>
it place the new disks on the Same  Datastore, and not on the defined</p>
<p dir="auto">Tryed it with 2.3 and latest devel</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>


<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- name: &quot;Test Vsphere&quot;
  hosts: fj-v-file1
  gather_facts: false
  vars:
    vsphere_cluster:  &quot;{{vsphere_default_cluster}}&quot;
    vsphere_datacenter: &quot;{{vsphere_default_datacenter}}&quot;
    vsphere_user: &quot;{{vsphere_vmc1_user}}&quot;
    vsphere_pw: &quot;{{vsphere_vmc1_password}}&quot;
    vsphere_host: &quot;{{vsphere_default_vcenter}}&quot;
    VMConfiguration:
        name: fj-v-file1
        primary_esxhost: &quot;fj-p-vmnode1.vsphere.local&quot;
        annotation: &quot;Fileserver for Management and Research&quot;
        template: &quot;server2016core-v1&quot;
        disk:
         # OS Disk
         - size_gb: 146
           type: thin
           datastore: &quot;ds-lun-11-sys1&quot;
           autoselect_datastore: false

         # Verwaltung/LMTZ File Share = 1000GB * 1,07
         - size_gb: 1070
           type: thin
           datastore: &quot;ds-lun-25-vwfs&quot;
           autoselect_datastore: false

         # BLT File Shares = 2000GB * 1,07
         - size_gb: 2140
           type: thin
           datastore: &quot;ds-lun-25-vwfs&quot;
           autoselect_datastore: false

         # JR File Shares = 2000GB * 1,07
         - size_gb: 2140
           type: thin
           datastore: &quot;ds-lun-25-vwfs&quot;
           autoselect_datastore: false

        hardware:
          memory_mb: 4096
        networks:
         - name: &quot;23-VWResource&quot;
           mac: &quot;00:50:56:8E:35:97&quot;

  tasks:
    - name: &quot;Create VM&quot;
      tags: vsphere
      delegate_to: 127.0.0.1
      vmware_guest:
        name: &quot;{{VMConfiguration.name}}&quot;
        annotation: &quot;{{VMConfiguration.annotation}}&quot;
        hostname: &quot;{{vsphere_host}}&quot;
        cluster: &quot;{{vsphere_cluster}}&quot;
        datacenter: &quot;{{vsphere_datacenter}}&quot;
        template: &quot;{{VMConfiguration.template}}&quot;
        username: &quot;{{vsphere_user}}&quot;
        password: &quot;{{vsphere_pw}}&quot;
        wait_for_ip_address: no
        validate_certs: False
        state: present
        customization:
          password: &quot;nothing&quot;
        disk: &quot;{{VMConfiguration.disk}}&quot;
        hardware: &quot;{{VMConfiguration.hardware}}&quot;"><pre class="notranslate">- <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>Test Vsphere<span class="pl-pds">"</span></span>
  <span class="pl-ent">hosts</span>: <span class="pl-s">fj-v-file1</span>
  <span class="pl-ent">gather_facts</span>: <span class="pl-c1">false</span>
  <span class="pl-ent">vars</span>:
    <span class="pl-ent">vsphere_cluster</span>:  <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_default_cluster}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">vsphere_datacenter</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_default_datacenter}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">vsphere_user</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_vmc1_user}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">vsphere_pw</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_vmc1_password}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">vsphere_host</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_default_vcenter}}<span class="pl-pds">"</span></span>
    <span class="pl-ent">VMConfiguration</span>:
        <span class="pl-ent">name</span>: <span class="pl-s">fj-v-file1</span>
        <span class="pl-ent">primary_esxhost</span>: <span class="pl-s"><span class="pl-pds">"</span>fj-p-vmnode1.vsphere.local<span class="pl-pds">"</span></span>
        <span class="pl-ent">annotation</span>: <span class="pl-s"><span class="pl-pds">"</span>Fileserver for Management and Research<span class="pl-pds">"</span></span>
        <span class="pl-ent">template</span>: <span class="pl-s"><span class="pl-pds">"</span>server2016core-v1<span class="pl-pds">"</span></span>
        <span class="pl-ent">disk</span>:
         <span class="pl-c"><span class="pl-c">#</span> OS Disk</span>
         - <span class="pl-ent">size_gb</span>: <span class="pl-c1">146</span>
           <span class="pl-ent">type</span>: <span class="pl-s">thin</span>
           <span class="pl-ent">datastore</span>: <span class="pl-s"><span class="pl-pds">"</span>ds-lun-11-sys1<span class="pl-pds">"</span></span>
           <span class="pl-ent">autoselect_datastore</span>: <span class="pl-c1">false</span>

         <span class="pl-c"><span class="pl-c">#</span> Verwaltung/LMTZ File Share = 1000GB * 1,07</span>
         - <span class="pl-ent">size_gb</span>: <span class="pl-c1">1070</span>
           <span class="pl-ent">type</span>: <span class="pl-s">thin</span>
           <span class="pl-ent">datastore</span>: <span class="pl-s"><span class="pl-pds">"</span>ds-lun-25-vwfs<span class="pl-pds">"</span></span>
           <span class="pl-ent">autoselect_datastore</span>: <span class="pl-c1">false</span>

         <span class="pl-c"><span class="pl-c">#</span> BLT File Shares = 2000GB * 1,07</span>
         - <span class="pl-ent">size_gb</span>: <span class="pl-c1">2140</span>
           <span class="pl-ent">type</span>: <span class="pl-s">thin</span>
           <span class="pl-ent">datastore</span>: <span class="pl-s"><span class="pl-pds">"</span>ds-lun-25-vwfs<span class="pl-pds">"</span></span>
           <span class="pl-ent">autoselect_datastore</span>: <span class="pl-c1">false</span>

         <span class="pl-c"><span class="pl-c">#</span> JR File Shares = 2000GB * 1,07</span>
         - <span class="pl-ent">size_gb</span>: <span class="pl-c1">2140</span>
           <span class="pl-ent">type</span>: <span class="pl-s">thin</span>
           <span class="pl-ent">datastore</span>: <span class="pl-s"><span class="pl-pds">"</span>ds-lun-25-vwfs<span class="pl-pds">"</span></span>
           <span class="pl-ent">autoselect_datastore</span>: <span class="pl-c1">false</span>

        <span class="pl-ent">hardware</span>:
          <span class="pl-ent">memory_mb</span>: <span class="pl-c1">4096</span>
        <span class="pl-ent">networks</span>:
         - <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>23-VWResource<span class="pl-pds">"</span></span>
           <span class="pl-ent">mac</span>: <span class="pl-s"><span class="pl-pds">"</span>00:50:56:8E:35:97<span class="pl-pds">"</span></span>

  <span class="pl-ent">tasks</span>:
    - <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>Create VM<span class="pl-pds">"</span></span>
      <span class="pl-ent">tags</span>: <span class="pl-s">vsphere</span>
      <span class="pl-ent">delegate_to</span>: <span class="pl-s">127.0.0.1</span>
      <span class="pl-ent">vmware_guest</span>:
        <span class="pl-ent">name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{VMConfiguration.name}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">annotation</span>: <span class="pl-s"><span class="pl-pds">"</span>{{VMConfiguration.annotation}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">hostname</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_host}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">cluster</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_cluster}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">datacenter</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_datacenter}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">template</span>: <span class="pl-s"><span class="pl-pds">"</span>{{VMConfiguration.template}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">username</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_user}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>{{vsphere_pw}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">wait_for_ip_address</span>: <span class="pl-s">no</span>
        <span class="pl-ent">validate_certs</span>: <span class="pl-c1">False</span>
        <span class="pl-ent">state</span>: <span class="pl-s">present</span>
        <span class="pl-ent">customization</span>:
          <span class="pl-ent">password</span>: <span class="pl-s"><span class="pl-pds">"</span>nothing<span class="pl-pds">"</span></span>
        <span class="pl-ent">disk</span>: <span class="pl-s"><span class="pl-pds">"</span>{{VMConfiguration.disk}}<span class="pl-pds">"</span></span>
        <span class="pl-ent">hardware</span>: <span class="pl-s"><span class="pl-pds">"</span>{{VMConfiguration.hardware}}<span class="pl-pds">"</span></span></pre></div>

<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">VM gets Created with Disks on the defined datastore</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">All Disks getting placed on the first datastore "ds-lun-11-sys1"</p>
<p dir="auto">Looks like it ignore the defined Datastore</p>
<p dir="auto">Datastore is there (See it in vsphere client and on the Host where the vm gets placed)</p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="changed: [fj-v-file1 -&gt; 127.0.0.1] =&gt; {
    &quot;changed&quot;: true,
    &quot;failed&quot;: false,
    &quot;instance&quot;: {
        &quot;annotation&quot;: &quot;Fileserver for Management and Research&quot;,
        &quot;current_snapshot&quot;: null,
        &quot;customvalues&quot;: {},
        &quot;guest_tools_status&quot;: &quot;guestToolsNotRunning&quot;,
        &quot;guest_tools_version&quot;: &quot;10272&quot;,
        &quot;hw_guest_full_name&quot;: null,
        &quot;hw_guest_id&quot;: null,
        &quot;hw_interfaces&quot;: [],
        &quot;hw_memtotal_mb&quot;: 4096,
        &quot;hw_name&quot;: &quot;fj-v-file1&quot;,
        &quot;hw_power_status&quot;: &quot;poweredOff&quot;,
        &quot;hw_processor_count&quot;: 2,
        &quot;hw_product_uuid&quot;: &quot;420ede86-9d81-067f-f0a6-3c57d48938a4&quot;,
        &quot;ipv4&quot;: null,
        &quot;ipv6&quot;: null,
        &quot;module_hw&quot;: true,
        &quot;snapshots&quot;: []
    },
    &quot;invocation&quot;: {
        &quot;module_args&quot;: {
            &quot;annotation&quot;: &quot;Fileserver for Management and Research&quot;,
            &quot;cluster&quot;: &quot;vmc1&quot;,
            &quot;customization&quot;: {
                &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;
            },
            &quot;customvalues&quot;: [],
            &quot;datacenter&quot;: &quot;FJ&quot;,
            &quot;disk&quot;: [
                {
                    &quot;autoselect_datastore&quot;: false,
                    &quot;datastore&quot;: &quot;ds-lun-11-sys1&quot;,
                    &quot;size_gb&quot;: 146,
                    &quot;type&quot;: &quot;thin&quot;
                },
                {
                    &quot;autoselect_datastore&quot;: false,
                    &quot;datastore&quot;: &quot;ds-lun-25-vwfs&quot;,
                    &quot;size_gb&quot;: 1070,
                    &quot;type&quot;: &quot;thin&quot;
                },
                {
                    &quot;autoselect_datastore&quot;: false,
                    &quot;datastore&quot;: &quot;ds-lun-25-vwfs&quot;,
                    &quot;size_gb&quot;: 2140,
                    &quot;type&quot;: &quot;thin&quot;
                },
                {
                    &quot;autoselect_datastore&quot;: false,
                    &quot;datastore&quot;: &quot;ds-lun-25-vwfs&quot;,
                    &quot;size_gb&quot;: 2140,
                    &quot;type&quot;: &quot;thin&quot;
                }
            ],
            &quot;esxi_hostname&quot;: null,
            &quot;folder&quot;: &quot;/vm&quot;,
            &quot;force&quot;: false,
            &quot;guest_id&quot;: null,
            &quot;hardware&quot;: {
                &quot;memory_mb&quot;: 4096
            },
            &quot;hostname&quot;: &quot;172.16.125.200&quot;,
            &quot;is_template&quot;: false,
            &quot;linked_clone&quot;: false,
            &quot;name&quot;: &quot;fj-v-file1&quot;,
            &quot;name_match&quot;: &quot;first&quot;,
            &quot;networks&quot;: [],
            &quot;password&quot;: &quot;VALUE_SPECIFIED_IN_NO_LOG_PARAMETER&quot;,
            &quot;resource_pool&quot;: null,
            &quot;snapshot_src&quot;: null,
            &quot;state&quot;: &quot;present&quot;,
            &quot;template&quot;: &quot;server2016core-v1&quot;,
            &quot;template_src&quot;: &quot;server2016core-v1&quot;,
            &quot;username&quot;: &quot;ansible@vsphere.local&quot;,
            &quot;uuid&quot;: null,
            &quot;validate_certs&quot;: false,
            &quot;wait_for_ip_address&quot;: false
        }
    }
}"><pre class="notranslate"><code class="notranslate">changed: [fj-v-file1 -&gt; 127.0.0.1] =&gt; {
    "changed": true,
    "failed": false,
    "instance": {
        "annotation": "Fileserver for Management and Research",
        "current_snapshot": null,
        "customvalues": {},
        "guest_tools_status": "guestToolsNotRunning",
        "guest_tools_version": "10272",
        "hw_guest_full_name": null,
        "hw_guest_id": null,
        "hw_interfaces": [],
        "hw_memtotal_mb": 4096,
        "hw_name": "fj-v-file1",
        "hw_power_status": "poweredOff",
        "hw_processor_count": 2,
        "hw_product_uuid": "420ede86-9d81-067f-f0a6-3c57d48938a4",
        "ipv4": null,
        "ipv6": null,
        "module_hw": true,
        "snapshots": []
    },
    "invocation": {
        "module_args": {
            "annotation": "Fileserver for Management and Research",
            "cluster": "vmc1",
            "customization": {
                "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
            },
            "customvalues": [],
            "datacenter": "FJ",
            "disk": [
                {
                    "autoselect_datastore": false,
                    "datastore": "ds-lun-11-sys1",
                    "size_gb": 146,
                    "type": "thin"
                },
                {
                    "autoselect_datastore": false,
                    "datastore": "ds-lun-25-vwfs",
                    "size_gb": 1070,
                    "type": "thin"
                },
                {
                    "autoselect_datastore": false,
                    "datastore": "ds-lun-25-vwfs",
                    "size_gb": 2140,
                    "type": "thin"
                },
                {
                    "autoselect_datastore": false,
                    "datastore": "ds-lun-25-vwfs",
                    "size_gb": 2140,
                    "type": "thin"
                }
            ],
            "esxi_hostname": null,
            "folder": "/vm",
            "force": false,
            "guest_id": null,
            "hardware": {
                "memory_mb": 4096
            },
            "hostname": "172.16.125.200",
            "is_template": false,
            "linked_clone": false,
            "name": "fj-v-file1",
            "name_match": "first",
            "networks": [],
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "resource_pool": null,
            "snapshot_src": null,
            "state": "present",
            "template": "server2016core-v1",
            "template_src": "server2016core-v1",
            "username": "ansible@vsphere.local",
            "uuid": null,
            "validate_certs": false,
            "wait_for_ip_address": false
        }
    }
}
</code></pre></div>