From da8cd42dd9364eddd64fa0ca18b54793ec9f37d2 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 3 Dec 2025 17:49:43 +0100 Subject: [PATCH] modified: tasks/download-image.yml --- tasks/download-image.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/download-image.yml b/tasks/download-image.yml index c2cfe6c..e3e7f5c 100644 --- a/tasks/download-image.yml +++ b/tasks/download-image.yml @@ -33,6 +33,10 @@ changed_when: false failed_when: not debian_img_final.stat.exists or debian_img_final.stat.size == 0 +- name: Debug mtime type + debug: + msg: "mtime={{ debian_img_final.stat.mtime }} ({{ debian_img_final.stat.mtime | type_debug }})" + - name: "[IMAGE] Display image info" ansible.builtin.debug: msg: | @@ -40,4 +44,4 @@ Size: {{ debian_img_final.stat.size | int / 1024 / 1024 / 1024 | round(2) }} GB Last modified: {{ debian_img_final.stat.mtime | float | round(0, 'floor') | int | strftime('%Y-%m-%d %H:%M:%S') }} - # Last modified: {{ debian_img_final.stat.mtime | int | strftime('%Y-%m-%d %H:%M:%S') }} + # Last modified: {{ debian_img_final.stat.mtime | int | strftime('%Y-%m-%d %H:%M:%S') }}