Is it possbile to use lists and dictionaries in more layers like:

vars:
  users:
    - unsername: jon
      ssh: True
      pages:
        - pagename: page1
          documentroot: /home/page1
        - pagename: page2
          documentroot: /home/page2
    - unsername: jane
      ssh: False
      pages:
        - pagename: page3
          documentroot: /home/page3
        - pagename: page4
          documentroot: /home/page4

Can I use jinja2 templateing to create a file per user with all 
documentroots in it?
Is this the "right" way to achieve this goal?

Thank you very much for help!

-- 
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/1cae85d0-23b5-4335-aeff-dad51987910e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to