On 26.01.17 08:50 Michael Shi wrote:
> On Friday, 31 January 2014 22:58:17 UTC+11, Stephen Ryan wrote:
>> This works perfectly for most situations however we have a number
>> of places where we need to unset the variable to stop the command
>> on certain hosts. Neither of the following work when set in the
>> group vars and result in the task working.
>> 
>> foo: 
>> foo: ""

I think the iptables rule that I found on galaxy uses the following to
set a variable to empty:

foo: {}

Maybe this works in your case, too?

Johannes

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d68e0f93-c5e0-d51c-4faf-15f10fce0043%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to