Hi,
I was trying to invoke ansible plabook from python and got various blocker.
1> I have used dict formated data for ansible playbook tasks. And then tried to executed it working fine (as shown example in below link)
e.g. at http://docs.ansible.com/ansible/latest/dev_guide/developing_api.html
But I want to use module as “shell” now got a dead end how to provide argument to module as free-form text.
Would you please help me with example ? (using dict as shown in example)
2> I observe than python ansible module/library fail to load inventory from file. (It not even parsing that file).
I think this is bug as like ymal is not handled. (Inventory INI file is not handled in python-anisble module/library)
Please help me to understand more about ansible library/module in python.
Thanks,
~Rohit