# openstack restful api

**URL:** <https://forum.ansible.com/t/openstack-restful-api/22436>\
**Category:** Ansible Project\
**Created:** [August 31, 2016, 6:09pm UTC](https://forum.ansible.com/t/openstack-restful-api/22436 "2016-08-31T18:09:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandareddy578](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@nandareddy578](https://forum.ansible.com/u/nandareddy578)\
**Post date:** [August 31, 2016, 6:09pm UTC](https://forum.ansible.com/t/openstack-restful-api/22436/1 "2016-08-31T18:09:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [September 20, 2016, 3:22pm UTC](https://forum.ansible.com/t/openstack-restful-api/22436/2 "2016-09-20T15:22:05Z")

</div>

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.
