Hi,

I assumed, that host ranges could be used with ansible-playbook's --limit as they can be used in the inventory itself. However this doesn't seem to be possible:


$ ansible-playbook site.yml --limit='host[010:027]'

 [WARNING]: Could not match supplied host pattern, ignoring: host

ERROR! Specified --limit does not match any hosts
$

All hosts host010 - host027 are listed in the inventory.

The same happens with double quotes and witout quotes around the limit pattern.

How can I use host ranges witn --limit?

Cheers
frank


--
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+unsubscr...@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/93d54018-2093-651e-3881-5ae3730c5c16%40drosera.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to