See the attachment. With ansible 1.7.2 this works as expected:

% ansible-playbook --version
ansible-playbook 1.7.2
% ansible-playbook -i hosts/localhost a.yml --tags b

PLAY [localhost] 
************************************************************** 

GATHERING FACTS 
*************************************************************** 
ok: [localhost]

TASK: [debug msg="b"] 
********************************************************* 
ok: [localhost] => {
    "msg": "b"
}

PLAY RECAP 
******************************************************************** 
localhost                  : ok=2    changed=0    unreachable=0    
failed=0   


With 1.9.1 it's broken:

% ansible-playbook --version
ansible-playbook 1.9.1
% ansible-playbook -i hosts/localhost a.yml --tags b
ERROR: tag(s) not found in playbook: b.  possible values: 





-- 
j...@ioctl.org  http://ioctl.org/jan/ Short, dark, ugly: pick any three
Whenever I see a dog salivate I get an insatiable urge to ring a bell.

Attachment: x.tar.gz
Description: Binary data

Reply via email to