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/4950967a-b95a-417a-b599-43dfd9aa7926%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.