From ef7ccac98ade27fba4c291c9dd9d1a6cbac68acf Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 8 Jun 2020 11:00:11 +0200 Subject: [PATCH] Update to 2020-06-08 11:00 --- roles/bitwarden_rs/defaults/main.yml | 4 ++-- roles/bitwarden_rs/tasks/cleanup.yml | 4 +++- roles/bitwarden_rs/tasks/main.yml | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) 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