On Mon, 16 Feb 2015 12:23 -0800, Chris Short <[email protected]>
wrote:
> I have a task that runs when there is a partial match on the 
> inventory_hostname:
> 
>   when: '"lab" in inventory_hostname'

when: '"lab" not in inventory_hostname'

Giovanni

-- 
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/1424118759.2030261.228267065.3354A15C%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to