title: How can I run only ansible tasks with multiple tags?
body: <p>Imagine this ansible playbook:</p>
  
  <pre><code>- name: debug foo
    debug: msg=foo
    tags:
       - foo
  
  - name: debug bar
    debug: msg=bar
    tags:
       - bar
  
  - name: debug baz
    debug: msg=baz
    tags:
       - foo
       - bar
  </code></pre>
  
  <p>How can I run only the <code>debug baz</code> task? I want to say only run tasks which are tagged with <code>foo</code> AND <code>bar</code>. Is that possible?</p>
  
  <p>I tried this, but it will run all 3 tasks:</p>
  
  <pre><code>ansible-playbook foo.yml -t foo,bar
  </code></pre>