Please point me to the right docs for Ansible templates

Hi all,

Please forgive my ignorance if somebody already asked this and there are already places somewhere that can help me with my issues.

  1. I would love to know all the things that I can do in templates like the for loops “for host in groups_names” and the likes.
  2. Please separate the docs so that what can be used in templates are clear and VS what can be used in playbooks/tasks and etc because right now everything is like in one places and it can be hard to new users to know what they can use in templates vs the rest
  3. Jinja2 is the one we use for those in templates but what are exactly supported at this point in time (1.4) in Ansible. Can somebody help to make this a focal point of some documents? This will help a lot of people because not every sys admin/ops guys/devops are experts on Jinja2.

Please help.

Thanks and Happy Thanksgiving.

I happen to like our organization and the way it’s presented.

Ultimately, different people do learn differently, of course, and it’s hard to please everyone.

You may be interested in:

http://ansibleworks.com/docs/playbooks_loops.html
http://ansibleworks.com/docs/playbooks_variables.html#jinja2-filters

Though you could also use the search widget in the documentation to find these things.