Browse Source

Can choose backend

stable
Dryusdan 1 year ago
parent
commit
0a4b79c97f
  1. 2
      README.md
  2. 2
      tasks/main.yml

2
README.md

@ -9,9 +9,11 @@ bitwarden:
- name: bitwarden
home: /var/opt/bitwarden
app_folder: /opt/bitwarden
backend: postgresql
```
| Key | Value |
|-----|-------|
| name| Name of your bitwarden account |
| home| Home of bitwarden (to install rust and compile bitwarden) |
| app_folder| The folder path to copy bitwarden release on it |
| backend | (mysql|postgresql|sqlite) choose your backend DB for compilation |

2
tasks/main.yml

@ -131,7 +131,7 @@
- upgrade
- name: Compile bitwarden_rs
shell: "{{ item.home }}/.cargo/bin/cargo build --release --features mysql"
shell: "{{ item.home }}/.cargo/bin/cargo build --release --features {{ item.backend }}"
args:
chdir: "{{ item.home }}/bitwarden_rs"
become: yes

Loading…
Cancel
Save