| ▲ | SteveNuts 4 hours ago | |||||||
The worst part of Ansible is data manipulation, what would be an easy dictionary operation in Python is a huge mix of lookups in Ansible. Incredibly frustrating that the data you want is right there but you can't easily grab it. | ||||||||
| ▲ | gchamonlive 3 hours ago | parent [-] | |||||||
If Jinja templating for data manipulation gets too complex or inconvenient, you can create your own module in ansible and use python code for data manipulation. But at this point you are better served with plain python which I think is where pyinfra should shine. I want to take a look though at how hard it is to implement your own module for it. | ||||||||
| ||||||||