openstack restful api

24 views
Skip to first unread message

nandar...@gmail.com

unread,
Aug 31, 2016, 2:12:24 PM8/31/16
to Ansible Project
Hello All,

Is there any way we can use restful api's instead of connecting using ssh to target machine? I've seen we can connect to local machine using local connection(connection: local). In the same way is there any mechanism in ansible through which we can connect to remote machine using restful api's and perform action.

Thanks,
Nanda B.

Brian Coca

unread,
Sep 20, 2016, 11:22:15 AM9/20/16
to ansible...@googlegroups.com
That depends on the module, many of them use an API to do their work, normally you use those with `local_action`. Most cloud and 'network appliance' modules work this way.


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages