Fix broken Bitwarden provision

This commit is contained in:
2022-05-19 23:19:09 -04:00
parent 1c321f6ef7
commit cd11567164
7 changed files with 11 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
bitwarden_name: bitwarden
bitwarden_root: "/opt/{{ bitwarden_name }}"
bitwarden_database: "{{ bitwarden_name }}"
bitwarden_standalone: false
bitwarden_production: false

View File

@@ -11,7 +11,7 @@
- name: Download Bitwarden script
get_url:
url: "https://raw.githubusercontent.com/\
bitwarden/server/master/scripts/bitwarden.sh"
bitwarden/self-host/master/bitwarden.sh"
dest: "{{ bitwarden_root }}"
mode: u+x

View File

@@ -14,6 +14,9 @@ send "y\r"
send "n\r"
{% endif %}
expect "Enter the database name for your Bitwarden instance (ex. vault):"
send "{{ bitwarden_database }}\r"
expect "Enter your installation id (get at https://bitwarden.com/host):"
send "{{ bitwarden_install_id }}\r"

View File

@@ -1,3 +1,5 @@
version: '3'
services:
nginx:
networks: