Skip to content

Commit 7af3abb

Browse files
committed
kdevops_archive: add xz symlink for bash completion
Add a symlink to the xz results to enable bash completion. Suggested-by: Qu Wenruo <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 4631f45 commit 7af3abb

File tree

1 file changed

+6
-0
lines changed
  • playbooks/roles/kdevops_archive/tasks

1 file changed

+6
-0
lines changed

playbooks/roles/kdevops_archive/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@
352352
dest: "{{ kdevops_results_archive_dir }}/{{ kdevops_archive_prefix }}"
353353
mode: '0644'
354354

355+
- name: Create .tar.xz symlink for the archive
356+
file:
357+
src: "{{ kdevops_archive_prefix }}"
358+
dest: "{{ kdevops_results_archive_dir }}/{{ kdevops_archive_prefix }}.tar.xz"
359+
state: link
360+
355361
- name: Ensure .xz files are tracked by Git LFS
356362
command:
357363
cmd: git lfs track "*.xz"

0 commit comments

Comments
 (0)