<p dir="auto">See the attachment. With ansible 1.7.2 this works as expected:</p>
<p dir="auto">% ansible-playbook --version<br>
ansible-playbook 1.7.2<br>
% ansible-playbook -i hosts/localhost a.yml --tags b</p>
<p dir="auto">PLAY [localhost]</p>
<hr>
<p dir="auto">GATHERING FACTS</p>
<hr>
<p dir="auto">ok: [localhost]</p>
<p dir="auto">TASK: [debug msg="b"]</p>
<hr>
<p dir="auto">ok: [localhost] =&gt; {<br>
"msg": "b"<br>
}</p>
<p dir="auto">PLAY RECAP</p>
<hr>
<p dir="auto">localhost                  : ok=2    changed=0    unreachable=0<br>
failed=0</p>
<p dir="auto">With 1.9.1 it's broken:</p>
<p dir="auto">% ansible-playbook --version<br>
ansible-playbook 1.9.1<br>
% ansible-playbook -i hosts/localhost a.yml --tags b<br>
ERROR: tag(s) not found in playbook: b.  possible values:</p>
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">1.8.1-1.el6</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">CentOS release 6.6 (Final)</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Tags from includes are being ignored<br>
Tags from within a playbook are working just fine.</p>
<p dir="auto">After a downgrade to Ansible 1.7.2-2.el6 this is working</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">include: someotherplaybook.yml tags=test_tag<br>
ansible-playbook someplaybook.yml -e "target=somehost" -t test_tag</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">Tags should not be ignored</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">ERROR: tag(s) not found in playbook: test_tag.  possible values:</p>