It looks like that was fixed some time ago in
https://github.com/ansible/ansible/commit/fa368934bd26600104f72f9d8f0591c0fd68e958

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

On Thu, Sep 14, 2017 at 4:06 PM, Eric S <[email protected]> wrote:

> 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.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/de9da27a-36a2-4816-ac4f-70c72f35ec75%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/de9da27a-36a2-4816-ac4f-70c72f35ec75%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matt Martz
@sivel
sivel.net

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v-_2X10zRYPzn-c5569uZBBjHZpxsngdz22eEnP_fTx2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to