To answer myself (maybe as documentation):
- I just renamed tags to includes and have an empty includes variable
in the role defaults now.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Wed, Nov 26, 2014 at 9:20 AM, Mirko Friedenhagen
<[email protected]> wrote:
> 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?
>
> Regards Mirko
> --
> http://illegalstateexception.blogspot.com/
> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
> https://bitbucket.org/mfriedenhagen/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK8jvqxFpYq1G%2B7vsNwWxfxaaQeEfn9JP7eQ8TLVC1w%2BUaXSZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to