Are you seeing this just with --list-hosts or are you seeing it when
running a playbook too?

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

On Wed, Jan 13, 2016 at 6:56 AM, Mike Christofilopoulos <[email protected]>
wrote:

> im creating my hosts file with
>
>     for f in $(seq 1 10); do echo "host$f" >> hosts; done
>
> and then try to list hosts with
>
>
>     ansible all -i hosts --limit ~host1 --list-hosts
>
> with this result
>
>   hosts (10):
>     host1
>     host2
>     host3
>     host4
>     host5
>     host6
>     host7
>     host8
>     host9
>     host10
>
>
> Also non regex limit reutnrs
>
> ansible all -i hosts --limit host4 --list-hosts
>   hosts (10):
>     host1
>     host2
>     host3
>     host4
>     host5
>     host6
>     host7
>     host8
>     host9
>     host10
>
>
> I've tried googling but nothing came up. Has there been any changes ?
>
> ansible 2.0.0.0
>   config file = /etc/ansible/ansible.cfg
>   configured module search path = /usr/share/ansible
>
> and i've installed itwith `pip install --user ansible --upgrade`.
>
>
> Cheers,
> Mike
>
> --
> 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/81a1731f-957c-48ed-8aa8-19aec8820926%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/81a1731f-957c-48ed-8aa8-19aec8820926%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFgq%2Bb-a-Ub80rTy-HWrCemKKXC_YCGcsGvrAFYrwOk5BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to