Using Custom Loader (2.0.1)

10 views
Skip to first unread message

Halil Burak Noyan

unread,
Mar 23, 2016, 9:49:02 AM3/23/16
to Ansible Project
I am using Ansible 2 API to execute playbooks.
For vars files, I needed to use inheritance in json, so I built a reference system in json and written a decoder in python. My decoder works with both ordinary json files and my custom files.

I just want to be able to use my decoder for loading vars files. Unfortunately the only solution I found is to create my own loader class and use it via Ansible API.

Is there any solution besides hacking the loader??
Reply all
Reply to author
Forward
0 new messages