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'


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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BuTAOik7n6U3SyMhw_PUWtOcub%2BTBz15CVMHmnRgwqUapayeA%40mail.gmail.com.

Reply via email to