Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
find module to scan sub directories need help
11 views
Skip to first unread message
Raja Natte
unread,
Jul 29, 2021, 3:03:27 PM
7/29/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
Stefan Hornburg (Racke)
unread,
Jul 29, 2021, 3:20:53 PM
7/29/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
ansible-proje...@googlegroups.com
<mailto:
ansible-proje...@googlegroups.com
>.
> 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.
Reply all
Reply to author
Forward
0 new messages