Apologies, 'the car' should be 'the var', in case it's not obvious.

On Friday, October 9, 2015 at 2:41:10 PM UTC-7, Guy Knights wrote:
>
> I'm trying to add a new key to an existing dictionary but I'm having some 
> trouble. I have this set_fact task:
>
> - set_fact:
>     ha.listeners.backends[item.key].servers="{{ groups[item.key] }}"
>   with_dict: ha.listeners.backends
>
> It runs through without complaining, but when I debug the car there's new 
> data isn't in the dict. Is it even possible to do what I'm trying to do?
>
> Thanks,
> Guy
>

-- 
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/9465ff2c-f135-4446-9498-469e0282186c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to