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| #
|
config.vm.define :moxie do |moxie| #
|
||||||
end
|
end
|
||||||
|
|
||||||
# Disable Machine Name Prefix
|
|
||||||
config.vm.provider :libvirt do |libvirt|
|
config.vm.provider :libvirt do |libvirt|
|
||||||
|
libvirt.cpus = 2
|
||||||
|
libvirt.memory = 4096
|
||||||
libvirt.default_prefix = ""
|
libvirt.default_prefix = ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
bitwarden_name: bitwarden
|
bitwarden_name: bitwarden
|
||||||
bitwarden_root: "/opt/{{ bitwarden_name }}"
|
bitwarden_root: "/opt/{{ bitwarden_name }}"
|
||||||
|
bitwarden_database: "{{ bitwarden_name }}"
|
||||||
bitwarden_standalone: false
|
bitwarden_standalone: false
|
||||||
bitwarden_production: false
|
bitwarden_production: false
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
- name: Download Bitwarden script
|
- name: Download Bitwarden script
|
||||||
get_url:
|
get_url:
|
||||||
url: "https://raw.githubusercontent.com/\
|
url: "https://raw.githubusercontent.com/\
|
||||||
bitwarden/server/master/scripts/bitwarden.sh"
|
bitwarden/self-host/master/bitwarden.sh"
|
||||||
dest: "{{ bitwarden_root }}"
|
dest: "{{ bitwarden_root }}"
|
||||||
mode: u+x
|
mode: u+x
|
||||||
|
|
||||||
|
@ -14,6 +14,9 @@ send "y\r"
|
|||||||
send "n\r"
|
send "n\r"
|
||||||
{% endif %}
|
{% 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):"
|
expect "Enter your installation id (get at https://bitwarden.com/host):"
|
||||||
send "{{ bitwarden_install_id }}\r"
|
send "{{ bitwarden_install_id }}\r"
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
networks:
|
networks:
|
||||||
|
@ -9,5 +9,6 @@
|
|||||||
name: "{{ traefik_name }}"
|
name: "{{ traefik_name }}"
|
||||||
image: traefik:{{ traefik_version }}
|
image: traefik:{{ traefik_version }}
|
||||||
state: started
|
state: started
|
||||||
|
container_default_behavior: "no_defaults"
|
||||||
restart: yes
|
restart: yes
|
||||||
listen: restart_traefik
|
listen: restart_traefik
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
state: started
|
state: started
|
||||||
restart_policy: always
|
restart_policy: always
|
||||||
ports: "{{ traefik_ports }}"
|
ports: "{{ traefik_ports }}"
|
||||||
|
container_default_behavior: "no_defaults"
|
||||||
networks_cli_compatible: "false"
|
networks_cli_compatible: "false"
|
||||||
networks:
|
networks:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
|
Loading…
Reference in New Issue
Block a user