Hi Guys,

I have a playbook that gets all of the files within a directory:
```
- name: Find Backup Files to Move 
 find: paths: /path/to/directory 
 recurse: no 
 excludes: 'test-file.tar.gz' 
 delegate_to: localhost 
 register: testfiles
```
This playbook keeps failing with the following message:
```
*[WARNING]: Skipped '/tower_backup/backup_files' path due to this access 
issue:*
6
*'/path/to/directory' is not a directory*
```
The directory certainly does exist, and it is not empty:
```
-rwxr-x---. 1 awx awx 98358 Dec  6 00:00 
test-file-2022-backup-12-06-00:00:06.tar.gz
lrwxrwxrwx. 1 awx awx    80 Dec  6 00:00 test-file-latest.tar.gz -> 
/path/to/directory/test-file-backup-2022-12-06-00:00:06.tar.gz
```
What can I do to troubleshoot this further?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/6d1f6238-7a7a-482a-ae20-bfea1f2f5fa7n%40googlegroups.com.

Reply via email to