Fix broken Bitwarden provision
This commit is contained in:
parent
1c321f6ef7
commit
cd11567164
3
Vagrantfile
vendored
3
Vagrantfile
vendored
@ -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
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
bitwarden_name: bitwarden
|
||||
bitwarden_root: "/opt/{{ bitwarden_name }}"
|
||||
bitwarden_database: "{{ bitwarden_name }}"
|
||||
bitwarden_standalone: false
|
||||
bitwarden_production: false
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
networks:
|
||||
|
@ -9,5 +9,6 @@
|
||||
name: "{{ traefik_name }}"
|
||||
image: traefik:{{ traefik_version }}
|
||||
state: started
|
||||
container_default_behavior: "no_defaults"
|
||||
restart: yes
|
||||
listen: restart_traefik
|
||||
|
@ -36,6 +36,7 @@
|
||||
state: started
|
||||
restart_policy: always
|
||||
ports: "{{ traefik_ports }}"
|
||||
container_default_behavior: "no_defaults"
|
||||
networks_cli_compatible: "false"
|
||||
networks:
|
||||
- name: traefik
|
||||
|
Loading…
Reference in New Issue
Block a user