I have the following input list 

postgres_create_users:
        - {role: user1 , password: password1 }
        - {role: user2, password: password2}
        - {role: user3, password: password3}
        - {role: user4, password: password4}

 

As part of J2 template file I need to extract the password of user4  - How 
this can be done ?

 
insights.jdbc.password={{ postgres_create_users ??? }}

 

Thank you

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/35226055-8674-4efd-84db-21f054a51cfdn%40googlegroups.com.

Reply via email to