I'll try that. I didn't see the "not" in jinja docs but I might have missed
it. Thanks.

On Saturday, November 23, 2013, Michael DeHaan wrote:

> Not added in 1.4, just Jinja
>
> Probably wants the not before the statement
>
> -- Michael
>
> On Nov 23, 2013, at 12:57 PM, Ryan Mitchell <[email protected]>
> wrote:
>
> Wouldn't take it - syntax error. Was that perhaps added in 1.4? I'm still
> on 1.3.
>
>
>
> On Nov 23, 2013, at 11:51 AM, Michael DeHaan <[email protected]>
> wrote:
>
> Why not?
>
> -- Michael
>
> On Nov 23, 2013, at 12:25 PM, Ryan Mitchell <[email protected]>
> wrote:
>
> Thanks Michael. It appears that a "not in" isn't an option?
>
>
>
> On Nov 23, 2013, at 10:15 AM, Michael DeHaan <[email protected]>
> wrote:
>
> also:
>
> when: "'something' in variable"
>
> you have to quote it because you'll have non-matching string quotes
> otherwise, but it at least doesn't look like Python (for those that want to
> avoid it)
>
>
>
>
> On Wed, Nov 20, 2013 at 2:39 PM, Ryan Mitchell 
> <[email protected]>wrote:
>
> Ahh, perfect.  Thanks Serge, I'll give that a go.
>
>
> On Wed, Nov 20, 2013 at 1:26 PM, Serge van Ginderachter <
> [email protected]> wrote:
>
>
> On 20 November 2013 20:18, Ryan Mitchell <[email protected]> wrote:
>
> so it's more of a "contains" type thing.
>
>
> when: variable.find('somestring') != -1
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/D2hQzZ_jNuM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>  --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> Michael DeHaan <[email protected]>
> CTO, AnsibleWorks, Inc.
> http://www.ansibleworks.com/
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://gro<https://groups.google.com/d/topic/ansible-project/D2hQzZ_jNuM/unsubscribe>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/D2hQzZ_jNuM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected] <javascript:_e({}, 'cvml',
> 'ansible-project%[email protected]');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to