>
>
> Command module does not support globs so you would need to use shell 
> with globs. 
>

Ahh... Thanks.

FWIW, Looking at the command module docs I do see this telling note:
>> "It will not be processed through the shell"
But I'd only get the lack of glob support from that sentence implicitly; 
the explicit references are to job control and redirection modifiers.

To do is the more Ansible way, you need two task. 
> First one with the find module, that support globs or regexp
>

Thanks :-) I'm sure I'll end up using that regex support down the road.

-- 
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/3c0754fb-1734-4b96-ad85-b2dee33bc371%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to