Bug in top-level playbook: tags broken

10 views
Skip to first unread message

ja...@ioctl.org

unread,
Jun 4, 2015, 7:22:00 AM6/4/15
to ansible...@googlegroups.com
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:





--
ja...@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.
x.tar.gz

ja...@ioctl.org

unread,
Jun 4, 2015, 7:25:45 AM6/4/15
to ansible...@googlegroups.com
On this subject, we've found a bunch of regressions where ansible's
playbook semantics (especially when it comes to the behaviour of variables
in included roles) don't appear to be nailed down.

Is there a regression framework for test cases? I'm happy to submit a set
of playbooks that illustrate the variability we're seeing. At the moment
we're kind of in the position of having to choose which set of bugs is the
least egregious :-)

Cheers,
jan
Don't annihilate, assimilate: MacDonalds, not missiles.

Brian Coca

unread,
Jun 5, 2015, 9:53:57 AM6/5/15
to ansible...@googlegroups.com
There is an open ticket already on this issue
https://github.com/ansible/ansible/issues/9862.

--
Brian Coca
Reply all
Reply to author
Forward
0 new messages