title: Turning off multiple vm's in ansible
body: <p>I'm not sure if many people use this but I'm trying to shut down multiple vm's in vsphere in a specific order and turn them back on in a specific order but I can't seem to do that </p>
  
  <p>Something like this works </p>
  
  <pre><code>- hosts: vmwaremaster
    tasks:
      - name: shutdown myguest
        vmware_guest:
          hostname: ip_of_vcenter
          password: pwassword_of_vcenter
          username: username_of_vcenter
          name: webserver01
          state: shutdownguest
  </code></pre>
  
  <p>But if I try to add more guests with the name module it fails </p>
  
  <pre><code>- hosts: vmwaremaster
    tasks:
      - name: shutdown myguest
        vmware_guest:
          hostname: ip_of_vcenter
          password: pwassword_of_vcenter
          username: username_of_vcenter
          name: webserver01, memcacheserver01, mysqlserver01,
          state: shutdownguest
  </code></pre>
  
  <p>I'm trying to find a way to shutdown a guest if the previous guest has been shutdown but don't see much documentation in ansible. Has anyone worked with this module? </p>