when: "'dev' in tags" not working anymore - changed behavior between 1.7.2 and 1.8 for tags?
24 views
Skip to first unread message
Mirko Friedenhagen
unread,
Nov 26, 2014, 3:21:34 AM11/26/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible-project
Hello,
I have ported a bunch of puppet scripts to Ansible and we had a lot of
puppet inner or extended classes.
So basically I decided to switch on tags while including. In
role/basepkg/tasks/main.yml I have
- include dev.yml
when: "'dev' in tags"
and invoke this via
{ role: basepkg, tags: ['dev'] }
Worked flawlessly with 1.7.2 but now in 1.8 it chokes with:
```
error while evaluating conditional: 'dev' in tags
```
Is this deprecated?