Hi,

I would like to assign dictionnary variable to a another variable like that 
:

---
dict1:
    key1: 'value1'
    key2: 'value2'


dict2: {{dict1}}
This doesn't work because, it's break the yaml syntax, if I use dict2: 
"{{dict1}}" , dict2 is a string where dict1 is transform as a string.

How can I make the assigment to have dict2 as a dictionnary and not a 
string ?

Thanks in advance for your answers,

Best regards,
Julien

-- 
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/89621246-4623-4b73-8496-fca2e1d7616b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to