Merge branch 'stable' of git.dryusdan.fr:Ansible/vaultwarden into stable

This commit is contained in:
Dryusdan 2022-12-07 11:11:05 +01:00
commit 9c6cbc6045
1 changed files with 24 additions and 0 deletions

View File

@ -233,6 +233,30 @@
- install
- upgrade
- name: Delete build directory
ansible.builtin.file:
path: "{{ item.app_folder}}/build"
state: absent
loop: "{{ bitwarden }}"
tags:
- upgrade
- name: Delete deps directory
ansible.builtin.file:
path: "{{ item.app_folder}}/deps"
state: absent
loop: "{{ bitwarden }}"
tags:
- upgrade
- name: Delete web-vault directory
ansible.builtin.file:
path: "{{ item.app_folder}}/web-vault"
state: absent
loop: "{{ bitwarden }}"
tags:
- upgrade
- name: Install bitwarden
shell: "rsync -a --info=progress2 {{ item.home }}/bitwarden_rs/target/release/ {{ item.app_folder }}"
become: yes