On Thursday, February 1, 2018 at 4:03:33 PM UTC-5, Kai Stian Olstad wrote:
>
> On Thursday, 1 February 2018 21.49.44 CET Mike Cavedon wrote: 
> > I have the following hosts defined: 
> > 
> > [router] 
> > rr01 
> > rr[03:99] 
> > rr[100:114] 
> > 
> > I then execute a command that contains "--limit router[39:49]". Hosts 
> rr41 
> > through rr51 have the command executed on them. I'm expecting the 
> command 
> > to be executed on hosts rr41 through rr50. Why does the command execute 
> on 
> > host rr51? 
>
> It's start on 0 not 1 
> router[0] = rr01 
>
> -- 
> Kai Stian Olstad 
>

Is it [inclusive:inclusive], or is it [exclusive:inclusive]? I seem to 
recall the first parameter was exclusive. Maybe that was when 
[exclusive,inclusive] was supported?

If I have:

[router]
rr[01:99]

How do I deploy to hosts rr39 through rr49?

-- 
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/ca5c9409-b964-4861-ab7b-5605c2da0a7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to