modified: tasks/download-image.yml

This commit is contained in:
2025-12-03 18:10:53 +01:00
parent cc72a0e412
commit a54e872993

View File

@@ -37,11 +37,11 @@
debug:
msg: |
mtime={{ debian_img_final.stat.mtime }} ({{ debian_img_final.stat.mtime | type_debug }})
{{ (debian_img_final.stat.mtime // 1000)|timestamp_to_time|datetimeformat('%Y-%m-%d %H:%M:%S') }}
{{ (debian_img_final.stat.mtime // 1000) | int | strftime('%Y-%m-%d %H:%M:%S') }}
- name: "[IMAGE] Display image info"
ansible.builtin.debug:
msg: |
Image cached at: {{ debian_image_path }}
Size: {{ debian_img_final.stat.size | int / 1024 / 1024 / 1024 | round(2) }} GB
Last modified: {{ debian_img_final.stat.mtime | int | strftime('%Y-%m-%d %H:%M:%S') }}
Last modified: {{ debian_img_final.stat.mtime