# Ansible playbook for updated file listing

**URL:** <https://forum.ansible.com/t/ansible-playbook-for-updated-file-listing/11072>\
**Category:** Get Help\
**Tags:** gcp, ansible\
**Created:** [November 22, 2024, 6:02pm UTC](https://forum.ansible.com/t/ansible-playbook-for-updated-file-listing/11072 "2024-11-22T18:02:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![chris](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chris/32/293_2.png) [@chris](https://forum.ansible.com/u/chris)\
**Post date:** [November 25, 2024, 5:02pm UTC](https://forum.ansible.com/t/ansible-playbook-for-updated-file-listing/11072/4 "2024-11-25T17:02:21Z")

</div>

What does `subfolders` look like, try adding a `debug` for this and post the result here?

```yaml
- name: Debug subfolders
  ansible.builtin.debug:
    var: subfolders

```

Also try setting `use_regex` to `false` as `*.sql` is a shell pattern?

---

_[View the full topic](https://forum.ansible.com/t/ansible-playbook-for-updated-file-listing/11072)._
