# Module "os\_image" doesn't have "--location" option, any ideas?

**URL:** <https://forum.ansible.com/t/module-os-image-doesnt-have-location-option-any-ideas/20849>\
**Category:** Ansible Project\
**Created:** [March 12, 2016, 6:26am UTC](https://forum.ansible.com/t/module-os-image-doesnt-have-location-option-any-ideas/20849 "2016-03-12T06:26:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thiago\_Martins](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Thiago\_Martins](https://forum.ansible.com/u/Thiago_Martins)\
**Post date:** [March 12, 2016, 6:26am UTC](https://forum.ansible.com/t/module-os-image-doesnt-have-location-option-any-ideas/20849/1 "2016-03-12T06:26:50Z")

</div>

Guys,

Currently, I have a task that add a bunch of images on Glance, but using shell/command module, like this:

---

<div class="post-metadata">

**Author:** ![David\_Shrewsbury1](https://avatars.discourse-cdn.com/v4/letter/d/7ab992/32.png) [@David\_Shrewsbury1](https://forum.ansible.com/u/David_Shrewsbury1)\
**Post date:** [March 14, 2016, 1:31pm UTC](https://forum.ansible.com/t/module-os-image-doesnt-have-location-option-any-ideas/20849/2 "2016-03-14T13:31:09Z")

</div>

The os\_image module does not support an option similar to ‘location’. Support would first  
have to be added to the shade library (used by os\_image) before we could add support to  
the module.

If you’re interested in contributing, you can find the shade source here:

[http://git.openstack.org/cgit/openstack-infra/shade/](http://git.openstack.org/cgit/openstack-infra/shade/)

We discuss shade on #openstack-infra on Freenode.

-Dave
