I would like to get the most recent file,  in a specific directory,  from 
remote nodes:


I am thinking about running a command similar to:

ls -lrt /tmp/backup |tail -1 | awk '{print $9}

then putting the results of that in the fetch command. 

Any suggestions?  Does this seem like a good path?



-- 
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/a7b1eee6-3f0b-4afa-99d2-2e4aae1c2ce0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to