mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 19:43:11 +00:00
Move bitwarden to role
This commit is contained in:
parent
05689f57bb
commit
23b09bdfbd
4 changed files with 21 additions and 23 deletions
|
@ -526,24 +526,6 @@ thelounge_data_directory: "{{ docker_home }}/thelounge"
|
||||||
thelounge_port_one: "113"
|
thelounge_port_one: "113"
|
||||||
thelounge_port_two: "9002"
|
thelounge_port_two: "9002"
|
||||||
|
|
||||||
###
|
|
||||||
### Bitwarden
|
|
||||||
###
|
|
||||||
bitwarden_available_externally: "false"
|
|
||||||
bitwarden_data_directory: "{{ docker_home }}/bitwarden"
|
|
||||||
bitwarden_port_a: "19080"
|
|
||||||
bitwarden_port_b: "3012"
|
|
||||||
|
|
||||||
# Keep this token secret, this is password to access admin area of your server!
|
|
||||||
# This token can be anything, but it's recommended to use a long, randomly generated string of characters,
|
|
||||||
# for example running openssl rand -base64 48
|
|
||||||
bitwarden_admin_token: qwertyuiop1234567890poiuytrewq0987654321
|
|
||||||
|
|
||||||
# To create a user set this to "true", and reprovision the container by re-running the ansible-nas playbook.
|
|
||||||
# Once you have created your user, set to "false" and run one more time.
|
|
||||||
# Target just Bitwarden by running: ansible-playbook -i inventory nas.yml -b -K -t bitwarden
|
|
||||||
bitwarden_allow_signups: false
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Firefly
|
### Firefly
|
||||||
###
|
###
|
||||||
|
|
9
nas.yml
9
nas.yml
|
@ -53,6 +53,11 @@
|
||||||
- bazarr
|
- bazarr
|
||||||
when: (bazarr_enabled | default(False))
|
when: (bazarr_enabled | default(False))
|
||||||
|
|
||||||
|
- role: bitwarden
|
||||||
|
tags:
|
||||||
|
- bitwarden
|
||||||
|
when: (bitwarden_enabled | default(False))
|
||||||
|
|
||||||
- role: emby
|
- role: emby
|
||||||
tags:
|
tags:
|
||||||
- emby
|
- emby
|
||||||
|
@ -227,10 +232,6 @@
|
||||||
when: (joomla_enabled | default(False))
|
when: (joomla_enabled | default(False))
|
||||||
tags: joomla
|
tags: joomla
|
||||||
|
|
||||||
- import_tasks: tasks/bitwarden.yml
|
|
||||||
when: (bitwarden_enabled | default(False))
|
|
||||||
tags: bitwarden
|
|
||||||
|
|
||||||
- import_tasks: tasks/nzbget.yml
|
- import_tasks: tasks/nzbget.yml
|
||||||
when: (nzbget_enabled | default(False))
|
when: (nzbget_enabled | default(False))
|
||||||
tags: nzbget
|
tags: nzbget
|
||||||
|
|
15
roles/bitwarden/defaults/main.yml
Normal file
15
roles/bitwarden/defaults/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
bitwarden_available_externally: "false"
|
||||||
|
bitwarden_data_directory: "{{ docker_home }}/bitwarden"
|
||||||
|
bitwarden_port_a: "19080"
|
||||||
|
bitwarden_port_b: "3012"
|
||||||
|
|
||||||
|
# Keep this token secret, this is password to access admin area of your server!
|
||||||
|
# This token can be anything, but it's recommended to use a long, randomly generated string of characters,
|
||||||
|
# for example running openssl rand -base64 48
|
||||||
|
bitwarden_admin_token: qwertyuiop1234567890poiuytrewq0987654321
|
||||||
|
|
||||||
|
# To create a user set this to "true", and reprovision the container by re-running the ansible-nas playbook.
|
||||||
|
# Once you have created your user, set to "false" and run one more time.
|
||||||
|
# Target just Bitwarden by running: ansible-playbook -i inventory nas.yml -b -K -t bitwarden
|
||||||
|
bitwarden_allow_signups: false
|
Loading…
Reference in a new issue