issue : skipping: no hosts matched

472 views
Skip to first unread message

debl...@gmail.com

unread,
Dec 18, 2017, 5:42:09 AM12/18/17
to AWX Project

Hello,

Trying to launch a playbook via Ansible Tower version  3.2.2 but I'm running into the next issue "skipping: no hosts matched"
The playbook runs fine on any other Ansible installation but then ofcourse I'm using an inventory file "inventory.ini" and ansible.cfg file as inventory configuration.

My playbook is the next and I'm referring to all hosts . In my test project this is referring to  only 1 IP address which is pingable from the Ansible Tower.


---

# common
- hosts: all
  become: yes
  gather_facts: no

  roles:
    - common

# web
- hosts: all
  sudo: yes

  roles:
    - web


Inventories has 1 IP-address.





Can someone tell me what fundamental item I'm missing here? In attachment you can find the output  of my template "blickj"

Thanks for helping me out.

Kr,

Johan DBL



skipping_no_hosts_matched

John Mitchell

unread,
Dec 19, 2017, 2:46:46 PM12/19/17
to debl...@gmail.com, AWX Project

---------- Forwarded message ----------
From: John Mitchell <jmit...@redhat.com>
Date: Tue, Dec 19, 2017 at 2:46 PM
Subject: Re: [awx-project] issue : skipping: no hosts matched
To: debl...@gmail.com


I can't tell any reason why the host would skip based on your explanation, provided you've set the inventory that has that host in it as the inventory of the job template.

Might be helpful to refer to the Tower quickstart guide in terms of making sure you have the correct settings on your job template.

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/f51cb78b-1034-4f17-ae2e-1acb6560b669%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

John Mitchell
UI Engineer - Ansible Tower
Ansible by Red Hat

919-394-6667 | ansible.com 

GitHub: jlmitch5




--

John Mitchell
UI Engineer - Ansible Tower
Ansible by Red Hat

919-394-6667 | ansible.com 

GitHub: jlmitch5

Reply all
Reply to author
Forward
0 new messages