I was not aware of the datetime bug (was thinking to_datetime & strftime), but it is still simple to do in jinja:
- debug: msg='{{seconds}}' vars: d: "{{res['delta'].split(':')}}" seconds : "{{ d[0]|int * 3600 + d[1]|int * 60 + d[2]|float }}" ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/CACVha7dV2ert73qq0yva%2BfUKFQtX5TBNNs-o4u5Y-Q9tGaimuQ%40mail.gmail.com.