How do I get the find module to work in Ansible?
Remove use_regex: yes. Quoting from the doc


  If false the patterns are file globs (shell) if true they are python regexes.


If you want to use Python regex then the pattern would be probably something like this

patterns: '[j]{2}.[j]{2}'


You probably want to append to file >>

echo {{ item.path }} &gt;&gt; /tmp/results.txt