You can do 2 steps, first run the find module in that directory, then using
the map filter, sort by mtime and use the `last` filter to get the most
recent file.


----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7c34q_U7uYy-qBuMCUYw__xn%2BpgTGM0y4F%2B9mHXb%2BscKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to