<p dir="auto">Hello,</p>
<p dir="auto">this is intentionally a duplicate of the over-hastily closed <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="44790354" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/9260" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/9260/hovercard" href="https://github.com/ansible/ansible/issues/9260">#9260</a>. Please reopen the issue and fix the bug, it's annoying. Workarounds are time-consuming.</p>
<p dir="auto">Regards,<br>
Matthias</p>
<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_facts<br>
vmware_guest_snapshot</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 = 
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
"><pre class="notranslate"><code class="notranslate">ansible 2.3.0.0
  config file = 
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>

<h5 dir="auto">OS / ENVIRONMENT</h5>

<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>

<p dir="auto">datacenter is required by the plugin, but it is not in reality</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="      vmware_guest_snapshot:
        hostname: my-vmware
        username: user
        password: pass
        #datacenter: my-dc
        validate_certs: no
        snapshot_name: test
        name: my-vm
      delegate_to: localhost"><pre class="notranslate">      <span class="pl-ent">vmware_guest_snapshot</span>:
        <span class="pl-ent">hostname</span>: <span class="pl-s">my-vmware</span>
        <span class="pl-ent">username</span>: <span class="pl-s">user</span>
        <span class="pl-ent">password</span>: <span class="pl-s">pass</span>
        <span class="pl-c"><span class="pl-c">#</span>datacenter: my-dc</span>
        <span class="pl-ent">validate_certs</span>: <span class="pl-s">no</span>
        <span class="pl-ent">snapshot_name</span>: <span class="pl-s">test</span>
        <span class="pl-ent">name</span>: <span class="pl-s">my-vm</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">It should work without datacenter</p>
<h5 dir="auto">ACTUAL RESULTS</h5>

<p dir="auto">"msg": "missing required arguments: datacenter"</p>
<p dir="auto">On these plugins, required should be set to false for datacenter</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>