I have dictionary:
`
test:
a:
name: ‘somevalue’
other: ‘somevalue’
another: ‘somevalue’
b:
name: ‘somevalue’
other: ‘somevalue’
another: ‘somevalue’
`
How can I change value of “name” in each dictionary during play of playbook and that this has affected on all further reference to the “test” dictionary? I want to get something like this:
test: a: name: 'newvalue' other: 'somevalue' another: 'somevalue' b: name: 'newvalue' other: 'somevalue' another: 'somevalue'
I have tried to use “with_dict”, “debug” and “combine” jinja filter but didn’t get any result.
I will be grateful for any help!Thank you!