title: Ansible - prevent gathering facts for hosts that are not used
body: <p>I have a <code>playbook.yml</code> along the lines:</p>
  
  <pre><code>- name: Play1
    hosts: vm1
    ...
    tags: pl1
  
  - name: Play2
    hosts: vm2
    ...
    tags: pl2
  </code></pre>
  
  <p>Now imagine scenario, that <code>vm1</code> is dead and I don't care about it for the time being and I want to run only the 2nd play like this:</p>
  
  <pre><code>ansible-playbook playbook.yml --tags=pl2
  </code></pre>
  
  <p>But now, Ansible fails with the error when gathering facts for <code>vm1</code>. Is there a way to instruct Ansible to be smarter and ignore other plays completely? And why does it even do that?</p>