Can choose backend
This commit is contained in:
parent
9ac9b8a1de
commit
0a4b79c97f
|
@ -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 |
|
||||
|
|
|
@ -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…
Reference in New Issue