I have a repo where I include tests for one of my modules that uses the 2.0 API. This is not documentation, but you can use it as an example. https://github.com/linuxdynasty/ld-ansible-modules/blob/master/test/cloud/amazon/test_kinesis_stream.py
On Saturday, May 7, 2016 at 7:54:31 AM UTC-7, Noam Greenberg wrote: > > thanks > this doc is nice ( but poorly ) as i expect for some good doc this is why > i ask > if you will look let say "boto3" doc you have all the function and output > etc ... > i ask if ansible have something like this ? > > and if not i try to just run playbook from my pythonk script and wonder if > there and how-to ? > > Thanks > > On Saturday, May 7, 2016 at 5:39:27 PM UTC+3, Matt Martz wrote: >> >> http://docs.ansible.com/ansible/developing_api.html >> >> On Saturday, May 7, 2016, Noam Greenberg <[email protected]> wrote: >> >>> Hi all >>> >>> i wander if any one have a link or book about the Ansible 2.0 API >>> (python ) >>> function , param etc ... something >>> i try to run a playbook from python and i dont find any doc that explain >>> how to or witch function to use >>> >>> Thanks In advance >>> >>> -- >>> 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/9300d762-b41c-494b-b242-a9654785d46d%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/ansible-project/9300d762-b41c-494b-b242-a9654785d46d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> Matt Martz >> @sivel >> sivel.net >> >> -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a93fa9b2-e3f0-406e-9318-ce54fc5c56c7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
