Hi,
I've got a dictionary in a vars file like that:
dicname:
dic1:
key1: value
key2: value
dic2:
key1: value
key2: value
I'd like to change the value of a key in the dict with ansible-playbook
cli. I've tried things like that:
ansible-playbook -e dicname.dic1.key1=test playbook.yml
Unfortunately, the value is not updated. It works perfectly outside a
dictionary with a simple var.
Any idea how I could deal with this ?
Thanks
--
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/db3797a8-b56c-4b99-a1c9-4e3135f0d253%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.