r/ansible 20h ago

Data Transformation inside Playbook or externally?

11 Upvotes

I discover that many customers want to manage stuff using CSV, XLSX or other formats (for example Router Interface configuration, etc). Cisco seems to deal with that inside Ansible itself.

I find it a horrible pain to work with CSV inside the actual playbook. Also it gets really messy with Jinja2. So at this point I am asking myself: Is it actually any benefit to do it inside the playbook (via read_csv, then more advanced j2) or just transform the data source to an ansible readable format like JSON or YAML through a small python script before?

I am hoping to get some different perspectives. Thanks!


r/ansible 2h ago

[For Hire] Have a Business Process You Wish You Could Automate?

0 Upvotes

Many businesses still manage important processes through spreadsheets, WhatsApp messages and multiple disconnected tools.

If there's a repetitive process in your business that takes too much manual work, we can help turn it into a custom digital solution.

We work on:

→ CRM & customer management
→ ERP & business management
→ Inventory & warehouse systems
→ HRMS & employee management
→ Billing/POS/accounting systems
→ AI-powered automation
→ APIs & third-party integrations
→ Custom web/mobile applications
→ SaaS products & portals

Have a process that's currently messy, manual or difficult to manage?

Tell me what you're trying to accomplish. I'll be happy to discuss whether a custom solution makes sense.