title: how to add a disk to vcenter guest using Ansible
body: <p>I'm attempting to add a second disk to a vmware vcenter instance.</p>
  
  <p>Here is what I have: </p>
  
  <pre><code>- name: "Modifying ..."
    local_action:
      module: vsphere_guest
      vcenter_hostname: "{{ vcenter.hostname }}"
      username: "{{ vcenter_user[datacenter]['username'] }}"
      password: "{{ vcenter_user[datacenter]['password'] }}"
      guest: "{{ inventory_hostname }}"
      # Looky looky heeya ...#
      state: reconfigured
      ########################
      vm_extra_config:
        vcpu.hotadd: yes
        mem.hotadd:  yes
        notes: "{{ datacenter }} {{ purpose |replace('_',' ') }}"
      vm_disk: 
        disk1:
          size_gb: 50
          type: thin
          datastore: "{{ vcenter.datastore }}"
        disk2:
          size_gb: 200
          type: thin
          datastore: "{{ vcenter.datastore }}"
      vm_hardware:
        memory_mb: "{{ vm.memory|int }}"
        num_cpus: "{{ vm.cpus|int }}"
        osid: "{{ os.id }}"
      esxi:
        datacenter: "{{ esxi.datacenter }}"
        hostname: "{{ esxi.hostname }}"
  </code></pre>
  
  <p>So the vcenter sees the reconfigure and there are no errors displayed. </p>
  
  <p>Also there are no errors on the console when I runt the playbook. </p>
  
  <p>It just simply does not add the second disk. </p>
  
  <p>So is there a way to add the disk or will I have to write a python script to do it?</p>
  
  <p>Thanks. </p>