Can choose backend
This commit is contained in:
parent
9ac9b8a1de
commit
0a4b79c97f
|
@ -9,9 +9,11 @@ bitwarden:
|
||||||
- name: bitwarden
|
- name: bitwarden
|
||||||
home: /var/opt/bitwarden
|
home: /var/opt/bitwarden
|
||||||
app_folder: /opt/bitwarden
|
app_folder: /opt/bitwarden
|
||||||
|
backend: postgresql
|
||||||
```
|
```
|
||||||
| Key | Value |
|
| Key | Value |
|
||||||
|-----|-------|
|
|-----|-------|
|
||||||
| name| Name of your bitwarden account |
|
| name| Name of your bitwarden account |
|
||||||
| home| Home of bitwarden (to install rust and compile bitwarden) |
|
| home| Home of bitwarden (to install rust and compile bitwarden) |
|
||||||
| app_folder| The folder path to copy bitwarden release on it |
|
| 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
|
- upgrade
|
||||||
|
|
||||||
- name: Compile bitwarden_rs
|
- 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:
|
args:
|
||||||
chdir: "{{ item.home }}/bitwarden_rs"
|
chdir: "{{ item.home }}/bitwarden_rs"
|
||||||
become: yes
|
become: yes
|
||||||
|
|
Loading…
Reference in New Issue