# Is there any way to manange the ansible host file?

**URL:** <https://forum.ansible.com/t/is-there-any-way-to-manange-the-ansible-host-file/13461>\
**Category:** Ansible Project\
**Created:** [September 12, 2013, 7:18am UTC](https://forum.ansible.com/t/is-there-any-way-to-manange-the-ansible-host-file/13461 "2013-09-12T07:18:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristobal\_Rosa](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@Cristobal\_Rosa](https://forum.ansible.com/u/Cristobal_Rosa)\
**Post date:** [September 12, 2013, 7:18am UTC](https://forum.ansible.com/t/is-there-any-way-to-manange-the-ansible-host-file/13461/1 "2013-09-12T07:18:52Z")

</div>

I would like to add/remove hosts/groups on this file (in a permanent way). I’ve been looking in the Inventory object but there is no save method there.

Thanks!

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [September 12, 2013, 5:46pm UTC](https://forum.ansible.com/t/is-there-any-way-to-manange-the-ansible-host-file/13461/2 "2013-09-12T17:46:08Z")

</div>

Nope, there’s not.

You can use AnsibleWorks AWX if you want a REST API to manage inventory (and a database).

Or you can use an external inventory script to pull inventory from remote software defined sources of other kinds.
