Fix broken Bitwarden provision

This commit is contained in:
Kris Lamoureux 2022-05-19 23:19:09 -04:00
parent 1c321f6ef7
commit cd11567164
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
7 changed files with 11 additions and 2 deletions

3
Vagrantfile vendored
View File

@ -30,8 +30,9 @@ Vagrant.configure("2") do |config|
config.vm.define :moxie do |moxie| #
end
# Disable Machine Name Prefix
config.vm.provider :libvirt do |libvirt|
libvirt.cpus = 2
libvirt.memory = 4096
libvirt.default_prefix = ""
end

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:

View File

@ -9,5 +9,6 @@
name: "{{ traefik_name }}"
image: traefik:{{ traefik_version }}
state: started
container_default_behavior: "no_defaults"
restart: yes
listen: restart_traefik

View File

@ -36,6 +36,7 @@
state: started
restart_policy: always
ports: "{{ traefik_ports }}"
container_default_behavior: "no_defaults"
networks_cli_compatible: "false"
networks:
- name: traefik