--
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 ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You can only use Jinja2 expressions.
Why? We don't want playbooks to become arbitrary Python hackjobs. Ansible is not a Python tool -- something that is only appealing to Python developers. Rather, it's a tool that is written in Python.
Jinja2 templating allows us direct access to all of our variables with reasonable constrains without allowing you to do things like "os.system()" in the middle of an operation.
--
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 ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
it's only a problem if you try to program in your playbooks, which is against the entire aesthetic of Ansible.
If there are cases where you think we need to document things more, the documentation is an open source project that is easy to contribute to:docsite/latest/rst/*.rst in the checkout.
--
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 ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yep, Jinja2 expressions are basically Python unless you're trying to do any kind of advanced Python.I'd rather explain what they look like than for people to have to think they need to learn a lot of details of the templating system.
--
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 ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 ansible-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.