# Skipping: no hosts matched

**URL:** <https://forum.ansible.com/t/skipping-no-hosts-matched/25228>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [August 11, 2017, 1:52am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/25228 "2017-08-11T01:52:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eclipxsydney](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eclipxsydney](https://forum.ansible.com/u/eclipxsydney)\
**Post date:** [August 11, 2017, 1:52am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/25228/1 "2017-08-11T01:52:43Z")

</div>

Hi all,

I am in need of help/pointers from the community in setting up Ansible ansible 2.3.2.0 on ubuntu 14.04.

At the current stage it has been configure to retrieve the information from the remote server, but when I tried to do it through playbook (sudo ansible-playbook ubuntu14upgrade.yml) I get the following message “skipping: no hosts matched”

/etc/ansible/ansible.cfg is default settings

/etc/ansible/hosts has IP and hostname of the same remote server  
[eclipx@10.88.1.245](mailto:eclipx@10.88.1.245)

eclipx@MELDC1LPSTST1V

The above remote server responds to “ansible all -m ping” and other request.

If you receive the message “Skipping: No Hosts Matched” when you are trying to run a playbook through Tower, here are a few things to check:

• Make sure that your hosts declaration line in your playbook matches the name of your group/host in inventory exactly (these are case sensitive).

---

<div class="post-metadata">

**Author:** ![eclipxsydney](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eclipxsydney](https://forum.ansible.com/u/eclipxsydney)\
**Post date:** [August 14, 2017, 6:28am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/25228/2 "2017-08-14T06:28:27Z")

</div>

Hi Ansible community,

Is anybody able to help out?

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [August 14, 2017, 10:05pm UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/25228/3 "2017-08-14T22:05:40Z")

</div>

To me your post looks wired.  
If you are using Tower the support is here  
[https://access.redhat.com/products/ansible-tower-red-hat#support](https://access.redhat.com/products/ansible-tower-red-hat#support)

If you are not using Tower you should probably not read that documentation.

What you need is to read Ansible documentation, especially the one about inventory  
[https://docs.ansible.com/ansible/latest/intro\_inventory.html](https://docs.ansible.com/ansible/latest/intro_inventory.html)

---

<div class="post-metadata">

**Author:** ![eclipxsydney](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eclipxsydney](https://forum.ansible.com/u/eclipxsydney)\
**Post date:** [August 16, 2017, 7:42am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/25228/4 "2017-08-16T07:42:17Z")

</div>

Thanks Kai for your reply.

The Tower documentation was a reference to troubleshoot my problem through the steps they outline, the only reference to “Skipping: no hosts matched” from google search.
