Skip to content

Commit

Permalink
fixes archive file not being deleted bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo Huang committed Nov 13, 2023
1 parent 14f0a58 commit 99752e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/stage_items/tasks/stage_s3_download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

- name: "{{ stage_dest }} remove archive file"
file:
path: "{{ stage_dest }}/{{ stage_item.object }}"
path: "{{ stage_dest }}/{{ stage_item.object | basename }}"
state: absent
# removing the archive file is a non-change, because it will be re-downloaded every time
# the unarchive step is the real indication of changed/not changed
Expand Down

0 comments on commit 99752e8

Please sign in to comment.