Finally I found the option

https://serverfault.com/questions/922172/in-ansible-how-do-i-specify-an-exclusion-set-of-hosts-in-a-playbook

If someone is interested :-)

On Wed, Jul 10, 2019 at 6:17 PM Marcos González <
[email protected]> wrote:

> Hi all
>
> Im checking to use dynamic inventory but Im having a problem when execute
> any tasks with all option because with dynamic inventory exists some
> servers that never connects for external reasons. Exist any form to
> introduce exceptions in hosts?
>
> Exemple:
> ---
> -hosts: all
>
> A would like to discard test servers in tag_name. Is it possible?
>
> Thanks
> --
>
>

-- 
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/CAAwfG8wQ%2B3TAfcT4kBpQJm6dWHyx_5GNvh%2BX4kNujEK-kLox-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to