diff --git a/roles/bitwarden_rs/defaults/main.yml b/roles/bitwarden_rs/defaults/main.yml index 0063721..fa1226a 100644 --- a/roles/bitwarden_rs/defaults/main.yml +++ b/roles/bitwarden_rs/defaults/main.yml @@ -1,8 +1,8 @@ --- -bitwarden_version: 1.15.0 +bitwarden_version: 1.15.1 bitwarden_archive_url: https://github.com/dani-garcia/bitwarden_rs/archive/{{ bitwarden_version }}.tar.gz -bitwarden_archive_sha1: f9c487855c2e87955fdd796af48f6ef43d57e69e +bitwarden_archive_sha1: 0fa7ba3cac36209f9cb7f1d5eefb815b6b1f3e10 bitwarden_web_version: 2.14.0 bitwarden_web_archive_url: https://github.com/dani-garcia/bw_web_builds/releases/download/v{{ bitwarden_web_version }}/bw_web_v{{ bitwarden_web_version }}.tar.gz diff --git a/roles/bitwarden_rs/tasks/cleanup.yml b/roles/bitwarden_rs/tasks/cleanup.yml index 1d2ef93..7832a7f 100644 --- a/roles/bitwarden_rs/tasks/cleanup.yml +++ b/roles/bitwarden_rs/tasks/cleanup.yml @@ -1,8 +1,10 @@ --- - name: Remove temp files - files: path={{ item }} state=absent + file: path={{ item }} state=absent loop: - "{{ bitwarden_root_dir }}/tmp/bitwarden_rs-{{ bitwarden_version }}" - "{{ bitwarden_root_dir }}/tmp/bitwarden_rs-{{ bitwarden_version }}.tar.gz" + - "{{ bitwarden_root_dir }}/tmp/web-vault" + - "{{ bitwarden_root_dir }}/tmp/bw_web_v{{ bitwarden_web_version }}.tar.gz" tags: bitwarden diff --git a/roles/bitwarden_rs/tasks/main.yml b/roles/bitwarden_rs/tasks/main.yml index 77d9087..ee1a661 100644 --- a/roles/bitwarden_rs/tasks/main.yml +++ b/roles/bitwarden_rs/tasks/main.yml @@ -12,3 +12,4 @@ - include: write_version.yml - include: archive_post.yml when: bitwarden_install_mode == 'upgrade' or bitwarden_web_install_mode == 'upgrade' +- include: cleanup.yml