Use tar.gz or tar.bz2 instead of .bz2 for github release artifacts

Hi is there a special reason why you use .bz2 for GitHub release artifacts? While this is technically fine (maybe a bit uncommon but that’s of course not an issue :slight_smile: ) it’s a real pain to handle .bz2 with e.g. Ansible because there is no native module that could handle .bz2 files (see https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unarchive_module.html#notes). Would it be possible to simply use .tar.gz or .tar.bz2?

2 Likes

This bothers me as well. While ansible can unarchive .tar.bz2 files just fine it doesn’t handle .bz2 files.

+1

for now I am using copy module which works fine
having tar.bz2 would be great for Ansible automation.

This is already tracked in https://github.com/restic/restic/issues/2346 where you can read a comment from @MichaelEischer.