Skip to content

Commit e06a9c8

Browse files
committed
kdevops_archive: fix archive display
Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 540aedd commit e06a9c8

File tree

1 file changed

+2
-5
lines changed
  • playbooks/roles/kdevops_archive/tasks

1 file changed

+2
-5
lines changed

playbooks/roles/kdevops_archive/tasks/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,10 @@
144144

145145
- name: Display archive file information
146146
debug:
147-
msg: |
148-
Found archive file:
149-
Path: {{ item.stat.path }}
150-
Size: {{ (item.stat.size / 1024 / 1024) | round(2) }} MB
147+
msg: "{{ item.stat.path }} ({{ (item.stat.size / 1024 / 1024) | round(2) }}MB)"
151148
loop: "{{ archive_stats.results }}"
152149
loop_control:
153-
label: "{{ item.path | basename }}"
150+
label: "{{ item.stat.path | basename }}"
154151

155152
- name: Check if kdevops-results-archive directory exists
156153
stat:

0 commit comments

Comments
 (0)