Thank you Kai , I'll try that out.

On May 25, 2018 11:43 PM, "Kai Stian Olstad" <
[email protected]> wrote:

> On 25.05.2018 14:36, Saranya N wrote:
>
>> I'm trying to find files dit.xml under particular directories.
>>
>> Rather than mentioning the directories as a list like below
>>
>> Path : [ /opt/local/version_v1.3.1 , /opt/local/version_v1.3.0 ]
>>
>> I tried /opt/local/version_v1.3.* and it didn't work.
>>
>> Actually I have dit.xml files under /opt/local/version_v1.5.0 which I
>> don't want to modify.
>>
>> That's y looking for regex for paths.
>>
>> Is it possible? Kindly suggest
>>
>
> Since it's not in the documentation it's not supported.
>
> What you could do is first a find that finds the directories and exclude
> the once you don't want.
> The result of that find is used in the second find to find the correct
> files.
>
> --
> Kai Stian Olstad
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/ansible-project/1wMwHzLp7-g/unsubscribe.
> To unsubscribe from this group and all its topics, 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/ms
> gid/ansible-project/72011b5e9189631b41d1d59d3dfdb94d%40olstad.com.
> 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/CAPYop%2BgkiN%2B%2BVwyhNNG4EiJFXBqp2%3DSUOzhvzAtrJH8mi%2BUPzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to