You can do one of two things:

1) Use set_fact to store the value of the date string you get from the lookup, 
then use that in the file and backup tasks

2) Register the results of the file task and use the path of the file from 
there in your backup task.

---

Sam Doran

-- 
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/0AD2F55E-6097-46E4-8A34-1982014A3FA4%40redhat.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to