On 29/07/2021 21:02, Raja Natte wrote:
Hi All,

I am trying to find files in sub directory like  the first server path: 
/opt/test/x/y/z/file.txt  each server has different paths.

I am using find module  it checking  for current directory as mention /opt/test*

code:
  - name: Get SSL path
   ignore_errors: false
   find:
     paths: /opt/test*  ----> after test  directory will on all servers
     patterns: '*.jks'



Hello Raja,

I'm not sure what you really after, but recurse: yes is certainly mentioned 
multiple times in the Ansible docs.

Regards
         Racke

TIA

--
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] 
<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BuTAOik7n6U3SyMhw_PUWtOcub%2BTBz15CVMHmnRgwqUapayeA%40mail.gmail.com
 
<https://groups.google.com/d/msgid/ansible-project/CA%2BuTAOik7n6U3SyMhw_PUWtOcub%2BTBz15CVMHmnRgwqUapayeA%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fa7ae95d-9195-34b0-533e-e724bb6b5776%40linuxia.de.

Reply via email to