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://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.

-- 
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