inventory issue

20 views
Skip to first unread message

Eric S

unread,
Sep 14, 2017, 5:06:00 PM9/14/17
to Ansible Project
I'm getting the following error:
ERROR! invalid host <host_name> specified for playbook iteration

I have a role that is set to only run against X group of servers that are in an inventory list. The server that is getting the invalid host is not in that sever group so I don't know why ansible is even trying that host as it is listed in another server group but not the one the role is being applied to.

I've never seen this in my 4 years of using ansible. Please help.

Matt Martz

unread,
Sep 14, 2017, 5:51:53 PM9/14/17
to ansible...@googlegroups.com

Based on a comment in an issue, it's been fixed since 2.1.1.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/de9da27a-36a2-4816-ac4f-70c72f35ec75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Matt Martz
@sivel
sivel.net
Reply all
Reply to author
Forward
0 new messages