So you're probably going to have problems above because one thing wants to
return a basic list and the other list you're trying to use is structured.

I've seen this pattern held by others in the past where they keep a list of
users to remove, such as people who have left a company, and this may be a
better approach -- this way you wouldn't remove some user account set down
by an application or something (though I think that's what your UID range
is going for).






On Thu, Mar 27, 2014 at 1:14 PM, Adam Morris <[email protected]> wrote:

> I'm not entirely sure what you are trying to achieve here.
>
> The user module is idempotent and can be used to make sure that users are
> present or not...  Are you trying to remove all users with UIDs between
> 1,000, and 29,999 that aren't in your list?
>
> How is this working for you?  Have you tried this and had problems or are
> you just seeking advice?
>
> I'm sure that this is possible, and your solution might work, but I
> honestly don't know...
>
>
> Adam
>
> --
> 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/b21b36d6-7032-4169-907f-a5b1b98ccf28%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/b21b36d6-7032-4169-907f-a5b1b98ccf28%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/CAEVJ8QNyepemYBfCFgV9B9kV16VeA4WMjCGf-6MnLCgNi1G71g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to