You can use the 'find' module and register the results:
ansible -m find -a 'path=~/ size=200k file_type=directory' localhost
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
Does this help?
I created a directory structure with four files:
$ find /tmp/dirsize/ -ls | cut -c 18-
drwxrwxr-x 5 dan dan 100 May 11 14:59 /tmp/dirsize/
drwxrwxr-x 2 dan dan60 May 11 15:00 /tmp/dirsize/d3
-rw-rw-r-- 1 dan dan 5242880 May 11