I use that variable successfully in a command. My questions is: is there a way to define timestamp formats without manual appending of ansible_data_time's components?
Regards rambius
Jian Jakim Li
unread,
Sep 19, 2016, 1:18:00 PM9/19/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
If you're using ansible 2.0, now you can use "{{lookup('pipe', 'date +%Y%m%d%H%M%S')}}" to get what you want.