# No host limitation of ansible-pull

**URL:** <https://forum.ansible.com/t/no-host-limitation-of-ansible-pull/14996>\
**Category:** Ansible Developer\
**Created:** [April 11, 2014, 9:33am UTC](https://forum.ansible.com/t/no-host-limitation-of-ansible-pull/14996 "2014-04-11T09:33:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chang-Ching\_Yeh](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Chang-Ching\_Yeh](https://forum.ansible.com/u/Chang-Ching_Yeh)\
**Post date:** [April 11, 2014, 9:33am UTC](https://forum.ansible.com/t/no-host-limitation-of-ansible-pull/14996/1 "2014-04-11T09:33:45Z")

</div>

Hi everyone,

I wrote a play and put it on a private repository.

I try to execute it through

ansible-pull -U [http://gitlab.mydomain.com/jim/ansible-books.git](http://gitlab.mydomain.com/jim/ansible-books.git) -i hosts unittest\_automation.yml

But I got an error return: **ERROR: provided hosts list is empty**

I found that ansible-pull always add " **–limit=localhost"** on the executing command.

I wonder it is a good idea to make “–limit” an option when excuting a playbook.

Thanks.  
Jim

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [April 15, 2014, 9:44pm UTC](https://forum.ansible.com/t/no-host-limitation-of-ansible-pull/14996/2 "2014-04-15T21:44:57Z")

</div>

Can you share what the specification is for your “hosts” line in your playbook versus what’s in your inventory file?

Also I should point out this is more of a user question, so probably more fit for [ansible-project@googelgroups.com](mailto:ansible-project@googelgroups.com). Not a problem though!
