Hello,
I defined a timestamp variable used to name backup files:
backup_timestamp: "{{ ansible_date_time.year }}{{ ansible_date_time.month
}}{{ ansible_date_time.day }}{{ ansible_date_time.hour }}{{
ansible_date_time.minute }}{{ ansible_date_time.second }}"
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
--
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/ba1dd583-5b37-4a60-b3f4-d27bcf320281%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.