Re: [ansible-project] Setting a None Value

2014-12-01 Thread Matt Ferrante
Many thanks On Tue, Dec 2, 2014 at 12:03 AM, James Cammarata wrote: > Hi Matt, > > In YAML, you can use a ~ or the lower-case string null to set the > equivalent of a python None. > > On Mon, Dec 1, 2014 at 10:51 PM, Matt Ferrante > wrote: > >> Is there a way to set a variable to None? I end up

Re: [ansible-project] Setting a None Value

2014-12-01 Thread James Cammarata
Hi Matt, In YAML, you can use a ~ or the lower-case string null to set the equivalent of a python None. On Mon, Dec 1, 2014 at 10:51 PM, Matt Ferrante wrote: > Is there a way to set a variable to None? I end up with the string, "None" > every time. > > The ec2_lc module passes instance_profile_

[ansible-project] Setting a None Value

2014-12-01 Thread Matt Ferrante
Is there a way to set a variable to None? I end up with the string, "None" every time. The ec2_lc module passes instance_profile_name along to boto's LaunchConfiguration method. Setting instance_profile_name to something works, but I am unable to set the default value for it, None. It doesn't