title: Error by running an ansible-playbook with localhost
body: <p>I use a VM and <em>Intershop 7.8</em> to run an <em>ansible-playbook</em> (using <a href="https://github.com/IntershopCommunicationsAG/ci-setup-ansible-playbook" rel="nofollow noreferrer">this tutorial</a> ). After installing <em>Ansible</em>, copying the content of the repository and configuring it (as shown in the <em>&quot;quick installation guide&quot;</em>), I tried to run the ansible-playbook <em>&quot;setupci.yml&quot;</em> using the command <code>ansible-playbook setupci.yml</code>. Testing this the first time the error <code>provided hosts list is empty, only localhost available</code> occurred. Solving this by creating a <em>&quot;hosts.yml&quot;</em> file, in which I declared a hostname and using other commands to run the playbook, two new errors occurred.</p>
  <p>I tried the following command in the <code>ci-set-ansible-playbook</code> directory:</p>
  <pre><code>$ --limit @[…]/ci-setup-ansible-playbook/setupci
  </code></pre>
  <p>I also tried:</p>
  <pre><code>$ ansible-playbook setupci.yml –connection=local
  </code></pre>
  <p>But both caused the errors:</p>
  <blockquote>
  <p>fatal: [127.0.0.1]: FAILED! =&gt; {“changed”: false, “connection”: “close”, “content”: “\n \n 404 – Not Found</p>
  <p>fatal: [127.0.0.1]: FAILED! =&gt; {“failed”: true, “msg”: “the field ‘args’ has an invalid value, which appears to include a variable that is undefined.</p>
  </blockquote>