# archive module does not add all the matched files to destination archive file

**URL:** <https://forum.ansible.com/t/archive-module-does-not-add-all-the-matched-files-to-destination-archive-file/26261>\
**Category:** Ansible Project\
**Created:** [December 12, 2017, 2:00pm UTC](https://forum.ansible.com/t/archive-module-does-not-add-all-the-matched-files-to-destination-archive-file/26261 "2017-12-12T14:00:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lokesh](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@Lokesh](https://forum.ansible.com/u/Lokesh)\
**Post date:** [December 12, 2017, 2:00pm UTC](https://forum.ansible.com/t/archive-module-does-not-add-all-the-matched-files-to-destination-archive-file/26261/1 "2017-12-12T14:00:06Z")

</div>

I want to search for files modified last 1day and add them to archive. I dont see all the matched files added to the destination zip file but see only the last file in the zip

ansible --version  
ansible 2.3.1.0  
config file = /Volumes/Projects/dat/ansible/ansible.cfg  
configured module search path = Default w/o overrides  
python version = 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]

…

```auto
- name: find files
  find:
    paths: /var/log/hadoop-hdfs
    age: -1d
    age_stamp: mtime
    file_type: file
  register: files_matched

```

```auto

```
