This commit is contained in:
parent
f5531142c1
commit
8f8de06545
141
.drone.jsonnet
141
.drone.jsonnet
@ -1,141 +1,152 @@
|
||||
local PipelineLinting = {
|
||||
kind: "pipeline",
|
||||
name: "linting",
|
||||
kind: 'pipeline',
|
||||
name: 'linting',
|
||||
platform: {
|
||||
os: "linux",
|
||||
arch: "amd64",
|
||||
os: 'linux',
|
||||
arch: 'amd64',
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: "ansible-later",
|
||||
image: "xoxys/ansible-later:latest",
|
||||
name: 'ansible-later',
|
||||
image: 'xoxys/ansible-later:latest',
|
||||
commands: [
|
||||
"ansible-later",
|
||||
'ansible-later',
|
||||
],
|
||||
},
|
||||
],
|
||||
trigger: {
|
||||
ref: ["refs/heads/master", "refs/tags/**", "refs/pull/**"],
|
||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||
},
|
||||
};
|
||||
|
||||
local PipelineDeployment = {
|
||||
kind: "pipeline",
|
||||
name: "deployment",
|
||||
local PipelineDeployment(scenario='centos7') = {
|
||||
kind: 'pipeline',
|
||||
name: 'testing-' + scenario,
|
||||
platform: {
|
||||
os: "linux",
|
||||
arch: "amd64",
|
||||
os: 'linux',
|
||||
arch: 'amd64',
|
||||
},
|
||||
concurrency: {
|
||||
limit: 1
|
||||
limit: 1,
|
||||
},
|
||||
workspace: {
|
||||
base: "/drone/src",
|
||||
path: "xoxys.bitwarden_rs"
|
||||
base: '/drone/src',
|
||||
path: 'xoxys.bitwarden_rs',
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: "ansible-molecule",
|
||||
image: "xoxys/molecule:latest",
|
||||
name: 'ansible-molecule',
|
||||
image: 'xoxys/molecule:latest',
|
||||
environment: {
|
||||
DO_API_KEY: { "from_secret": "do_api_key" },
|
||||
USER: "root",
|
||||
MOLECULE_CUSTOM_MODULES_REPO: "https://gitea.rknet.org/ansible/custom_modules",
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: "https://gitea.rknet.org/ansible/custom_filters",
|
||||
DO_API_KEY: { from_secret: 'do_api_key' },
|
||||
USER: 'root',
|
||||
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
|
||||
},
|
||||
commands: [
|
||||
"molecule test -s default",
|
||||
'molecule test -s' + scenario,
|
||||
],
|
||||
},
|
||||
],
|
||||
depends_on: [
|
||||
"linting",
|
||||
'linting',
|
||||
],
|
||||
trigger: {
|
||||
ref: ["refs/heads/master", "refs/tags/**"],
|
||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
||||
},
|
||||
};
|
||||
|
||||
local PipelineDocumentation = {
|
||||
kind: "pipeline",
|
||||
name: "documentation",
|
||||
kind: 'pipeline',
|
||||
name: 'documentation',
|
||||
platform: {
|
||||
os: "linux",
|
||||
arch: "amd64",
|
||||
os: 'linux',
|
||||
arch: 'amd64',
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: "ansible-doctor",
|
||||
image: "xoxys/ansible-doctor:latest",
|
||||
name: 'generate',
|
||||
image: 'xoxys/ansible-doctor:latest',
|
||||
environment: {
|
||||
ANSIBLE_DOCTOR_LOG_LEVEL: "INFO",
|
||||
ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO',
|
||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: "molecule/",
|
||||
ANSIBLE_DOCTOR_CUSTOM_HEADER: "HEADER.md",
|
||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: 'molecule/',
|
||||
ANSIBLE_DOCTOR_TEMPLATE: 'hugo-book',
|
||||
ANSIBLE_DOCTOR_OUTPUT_DIR: '_docs/',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "push-to-repo",
|
||||
image: "plugins/git-action:latest",
|
||||
name: 'publish',
|
||||
image: 'plugins/gh-pages:latest',
|
||||
settings: {
|
||||
actions: ["commit", "push"],
|
||||
author_email: "shipper@rknet.org",
|
||||
author_name: "DroneShipper",
|
||||
branch: "master",
|
||||
message: "[SKIP CI] update readme",
|
||||
remote: "https://gitea.rknet.org/ansible/xoxys.bitwarden_rs",
|
||||
netrc_machine: "gitea.rknet.org",
|
||||
netrc_username: {"from_secret": "gitea_username"},
|
||||
netrc_password: {"from_secret": "gitea_token"},
|
||||
username: { from_secret: 'github_username' },
|
||||
password: { from_secret: 'github_token' },
|
||||
pages_directory: '_docs/',
|
||||
target_branch: 'docs',
|
||||
},
|
||||
when: {
|
||||
ref: ["refs/heads/master"],
|
||||
ref: ['refs/heads/master'],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'trigger',
|
||||
image: 'plugins/downstream',
|
||||
settings: {
|
||||
server: 'https://drone.rknet.org',
|
||||
token: { from_secret: 'drone_token' },
|
||||
fork: true,
|
||||
repositories: [
|
||||
'xoxys/ansible-galaxy',
|
||||
],
|
||||
depends_on: [
|
||||
"deployment",
|
||||
},
|
||||
when: {
|
||||
ref: ['refs/heads/master'],
|
||||
},
|
||||
},
|
||||
],
|
||||
trigger: {
|
||||
ref: ["refs/heads/master", "refs/tags/**", "refs/pull/**"],
|
||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||
},
|
||||
depends_on: [
|
||||
'testing-centos7',
|
||||
],
|
||||
};
|
||||
|
||||
local PipelineNotification= {
|
||||
kind: "pipeline",
|
||||
name: "notification",
|
||||
local PipelineNotification = {
|
||||
kind: 'pipeline',
|
||||
name: 'notification',
|
||||
platform: {
|
||||
os: "linux",
|
||||
arch: "amd64",
|
||||
os: 'linux',
|
||||
arch: 'amd64',
|
||||
},
|
||||
clone: {
|
||||
disable: true,
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: "matrix",
|
||||
image: "plugins/matrix",
|
||||
name: 'matrix',
|
||||
image: 'plugins/matrix',
|
||||
settings: {
|
||||
homeserver: { "from_secret": "matrix_homeserver" },
|
||||
roomid: { "from_secret": "matrix_roomid" },
|
||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}",
|
||||
username: { "from_secret": "matrix_username" },
|
||||
password: { "from_secret": "matrix_password" },
|
||||
homeserver: { from_secret: 'matrix_homeserver' },
|
||||
roomid: { from_secret: 'matrix_roomid' },
|
||||
template: 'Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}',
|
||||
username: { from_secret: 'matrix_username' },
|
||||
password: { from_secret: 'matrix_password' },
|
||||
},
|
||||
},
|
||||
],
|
||||
depends_on: [
|
||||
"documentation",
|
||||
'documentation',
|
||||
],
|
||||
trigger: {
|
||||
status: [ "success", "failure" ],
|
||||
ref: ["refs/heads/master", "refs/tags/**"],
|
||||
status: ['success', 'failure'],
|
||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
||||
},
|
||||
};
|
||||
|
||||
[
|
||||
PipelineLinting,
|
||||
PipelineDeployment,
|
||||
PipelineDeployment(scenario='centos7'),
|
||||
PipelineDocumentation,
|
||||
PipelineNotification,
|
||||
]
|
||||
|
51
.drone.yml
51
.drone.yml
@ -20,7 +20,7 @@ trigger:
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: deployment
|
||||
name: testing-centos7
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
@ -37,7 +37,7 @@ steps:
|
||||
- name: ansible-molecule
|
||||
image: xoxys/molecule:latest
|
||||
commands:
|
||||
- molecule test -s default
|
||||
- molecule test -scentos7
|
||||
environment:
|
||||
DO_API_KEY:
|
||||
from_secret: do_api_key
|
||||
@ -62,30 +62,37 @@ platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: ansible-doctor
|
||||
- name: generate
|
||||
image: xoxys/ansible-doctor:latest
|
||||
environment:
|
||||
ANSIBLE_DOCTOR_CUSTOM_HEADER: HEADER.md
|
||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
||||
ANSIBLE_DOCTOR_LOG_LEVEL: INFO
|
||||
ANSIBLE_DOCTOR_OUTPUT_DIR: _docs/
|
||||
ANSIBLE_DOCTOR_TEMPLATE: hugo-book
|
||||
|
||||
- name: push-to-repo
|
||||
image: plugins/git-action:latest
|
||||
- name: publish
|
||||
image: plugins/gh-pages:latest
|
||||
settings:
|
||||
actions:
|
||||
- commit
|
||||
- push
|
||||
author_email: shipper@rknet.org
|
||||
author_name: DroneShipper
|
||||
branch: master
|
||||
message: "[SKIP CI] update readme"
|
||||
netrc_machine: gitea.rknet.org
|
||||
netrc_password:
|
||||
from_secret: gitea_token
|
||||
netrc_username:
|
||||
from_secret: gitea_username
|
||||
remote: https://gitea.rknet.org/ansible/xoxys.bitwarden_rs
|
||||
pages_directory: _docs/
|
||||
password:
|
||||
from_secret: github_token
|
||||
target_branch: docs
|
||||
username:
|
||||
from_secret: github_username
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
|
||||
- name: trigger
|
||||
image: plugins/downstream
|
||||
settings:
|
||||
fork: true
|
||||
repositories:
|
||||
- xoxys/ansible-galaxy
|
||||
server: https://drone.rknet.org
|
||||
token:
|
||||
from_secret: drone_token
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
@ -97,7 +104,7 @@ trigger:
|
||||
- refs/pull/**
|
||||
|
||||
depends_on:
|
||||
- deployment
|
||||
- testing-centos7
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -135,8 +142,4 @@ trigger:
|
||||
depends_on:
|
||||
- documentation
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 3e60df36f8be48ecb14c4e0cab6d51e03d766d5a0534ca60e502af8c3d907742
|
||||
|
||||
...
|
||||
|
865
README.md
865
README.md
@ -2,868 +2,15 @@
|
||||
|
||||
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.bitwarden_rs/status.svg)](https://drone.rknet.org/ansible/xoxys.bitwarden_rs)
|
||||
|
||||
Role to setup Bitwarden passsword save.
|
||||
|
||||
Role to setup Bitwarden passsword save
|
||||
You can find the full documentation at [galaxy.geekdocs.de](https://galaxy.geekdocs.de/role/bitwarden_rs).
|
||||
|
||||
## Table of content
|
||||
### License
|
||||
|
||||
* [Default Variables](#default-variables)
|
||||
* [bitwardenrs_admin_token](#bitwardenrs_admin_token)
|
||||
* [bitwardenrs_authenticator_disable_time_drift](#bitwardenrs_authenticator_disable_time_drift)
|
||||
* [bitwardenrs_base_url](#bitwardenrs_base_url)
|
||||
* [bitwardenrs_cap_add](#bitwardenrs_cap_add)
|
||||
* [bitwardenrs_cap_drop](#bitwardenrs_cap_drop)
|
||||
* [bitwardenrs_container_name](#bitwardenrs_container_name)
|
||||
* [bitwardenrs_cpu_shares](#bitwardenrs_cpu_shares)
|
||||
* [bitwardenrs_db_name](#bitwardenrs_db_name)
|
||||
* [bitwardenrs_db_password](#bitwardenrs_db_password)
|
||||
* [bitwardenrs_db_port](#bitwardenrs_db_port)
|
||||
* [bitwardenrs_db_server](#bitwardenrs_db_server)
|
||||
* [bitwardenrs_db_ssl_mode](#bitwardenrs_db_ssl_mode)
|
||||
* [bitwardenrs_db_ssl_rootcert](#bitwardenrs_db_ssl_rootcert)
|
||||
* [bitwardenrs_db_user](#bitwardenrs_db_user)
|
||||
* [bitwardenrs_disable_2fa_remember](#bitwardenrs_disable_2fa_remember)
|
||||
* [bitwardenrs_disable_icon_download](#bitwardenrs_disable_icon_download)
|
||||
* [bitwardenrs_docker_compose_bin](#bitwardenrs_docker_compose_bin)
|
||||
* [bitwardenrs_exposed_ip](#bitwardenrs_exposed_ip)
|
||||
* [bitwardenrs_exposed_port](#bitwardenrs_exposed_port)
|
||||
* [bitwardenrs_extended_logging](#bitwardenrs_extended_logging)
|
||||
* [bitwardenrs_extra_hosts](#bitwardenrs_extra_hosts)
|
||||
* [bitwardenrs_healthcheck](#bitwardenrs_healthcheck)
|
||||
* [bitwardenrs_icon_blacklist_non_global_ips](#bitwardenrs_icon_blacklist_non_global_ips)
|
||||
* [bitwardenrs_icon_blacklist_regexl](#bitwardenrs_icon_blacklist_regexl)
|
||||
* [bitwardenrs_icon_cache_negttl](#bitwardenrs_icon_cache_negttl)
|
||||
* [bitwardenrs_icon_cache_ttl](#bitwardenrs_icon_cache_ttl)
|
||||
* [bitwardenrs_icon_download_timeout](#bitwardenrs_icon_download_timeout)
|
||||
* [bitwardenrs_image](#bitwardenrs_image)
|
||||
* [bitwardenrs_invitations_allowed](#bitwardenrs_invitations_allowed)
|
||||
* [bitwardenrs_ip_header](#bitwardenrs_ip_header)
|
||||
* [bitwardenrs_ldap_bind_dn](#bitwardenrs_ldap_bind_dn)
|
||||
* [bitwardenrs_ldap_bind_password](#bitwardenrs_ldap_bind_password)
|
||||
* [bitwardenrs_ldap_bitwarden_admin_token](#bitwardenrs_ldap_bitwarden_admin_token)
|
||||
* [bitwardenrs_ldap_bitwarden_url](#bitwardenrs_ldap_bitwarden_url)
|
||||
* [bitwardenrs_ldap_cap_add](#bitwardenrs_ldap_cap_add)
|
||||
* [bitwardenrs_ldap_cap_drop](#bitwardenrs_ldap_cap_drop)
|
||||
* [bitwardenrs_ldap_container_name](#bitwardenrs_ldap_container_name)
|
||||
* [bitwardenrs_ldap_cpu_shares](#bitwardenrs_ldap_cpu_shares)
|
||||
* [bitwardenrs_ldap_host](#bitwardenrs_ldap_host)
|
||||
* [bitwardenrs_ldap_image](#bitwardenrs_ldap_image)
|
||||
* [bitwardenrs_ldap_mail_field](#bitwardenrs_ldap_mail_field)
|
||||
* [bitwardenrs_ldap_memory_limit](#bitwardenrs_ldap_memory_limit)
|
||||
* [bitwardenrs_ldap_memory_reservation](#bitwardenrs_ldap_memory_reservation)
|
||||
* [bitwardenrs_ldap_pids_limit](#bitwardenrs_ldap_pids_limit)
|
||||
* [bitwardenrs_ldap_port](#bitwardenrs_ldap_port)
|
||||
* [bitwardenrs_ldap_restart_policy](#bitwardenrs_ldap_restart_policy)
|
||||
* [bitwardenrs_ldap_scheme](#bitwardenrs_ldap_scheme)
|
||||
* [bitwardenrs_ldap_search_base_dn](#bitwardenrs_ldap_search_base_dn)
|
||||
* [bitwardenrs_ldap_search_filter](#bitwardenrs_ldap_search_filter)
|
||||
* [bitwardenrs_ldap_security_opt](#bitwardenrs_ldap_security_opt)
|
||||
* [bitwardenrs_ldap_ssl](#bitwardenrs_ldap_ssl)
|
||||
* [bitwardenrs_ldap_sync_enabled](#bitwardenrs_ldap_sync_enabled)
|
||||
* [bitwardenrs_ldap_sync_interval_seconds](#bitwardenrs_ldap_sync_interval_seconds)
|
||||
* [bitwardenrs_ldap_sync_loop](#bitwardenrs_ldap_sync_loop)
|
||||
* [bitwardenrs_ldap_version](#bitwardenrs_ldap_version)
|
||||
* [bitwardenrs_ldap_volumes_extra](#bitwardenrs_ldap_volumes_extra)
|
||||
* [bitwardenrs_log_level](#bitwardenrs_log_level)
|
||||
* [bitwardenrs_memory_limit](#bitwardenrs_memory_limit)
|
||||
* [bitwardenrs_memory_reservation](#bitwardenrs_memory_reservation)
|
||||
* [bitwardenrs_password_iterations](#bitwardenrs_password_iterations)
|
||||
* [bitwardenrs_pids_limit](#bitwardenrs_pids_limit)
|
||||
* [bitwardenrs_reload_templates](#bitwardenrs_reload_templates)
|
||||
* [bitwardenrs_restart_policy](#bitwardenrs_restart_policy)
|
||||
* [bitwardenrs_security_opt](#bitwardenrs_security_opt)
|
||||
* [bitwardenrs_service_directory](#bitwardenrs_service_directory)
|
||||
* [bitwardenrs_show_password_hint](#bitwardenrs_show_password_hint)
|
||||
* [bitwardenrs_signups_allowed](#bitwardenrs_signups_allowed)
|
||||
* [bitwardenrs_signups_domains_whitelist](#bitwardenrs_signups_domains_whitelist)
|
||||
* [bitwardenrs_signups_verify](#bitwardenrs_signups_verify)
|
||||
* [bitwardenrs_signups_verify_resend_limit](#bitwardenrs_signups_verify_resend_limit)
|
||||
* [bitwardenrs_signups_verify_resend_time](#bitwardenrs_signups_verify_resend_time)
|
||||
* [bitwardenrs_smtp_auth_mechanism](#bitwardenrs_smtp_auth_mechanism)
|
||||
* [bitwardenrs_smtp_from](#bitwardenrs_smtp_from)
|
||||
* [bitwardenrs_smtp_from_name](#bitwardenrs_smtp_from_name)
|
||||
* [bitwardenrs_smtp_host](#bitwardenrs_smtp_host)
|
||||
* [bitwardenrs_smtp_password](#bitwardenrs_smtp_password)
|
||||
* [bitwardenrs_smtp_port](#bitwardenrs_smtp_port)
|
||||
* [bitwardenrs_smtp_ssl](#bitwardenrs_smtp_ssl)
|
||||
* [bitwardenrs_smtp_timeout](#bitwardenrs_smtp_timeout)
|
||||
* [bitwardenrs_smtp_username](#bitwardenrs_smtp_username)
|
||||
* [bitwardenrs_templates_folder](#bitwardenrs_templates_folder)
|
||||
* [bitwardenrs_version](#bitwardenrs_version)
|
||||
* [bitwardenrs_volumes_extra](#bitwardenrs_volumes_extra)
|
||||
* [bitwardenrs_web_vault_enabled](#bitwardenrs_web_vault_enabled)
|
||||
* [bitwardenrs_websocket_enabled](#bitwardenrs_websocket_enabled)
|
||||
* [bitwardenrs_websocket_exposed_ip](#bitwardenrs_websocket_exposed_ip)
|
||||
* [bitwardenrs_websocket_exposed_port](#bitwardenrs_websocket_exposed_port)
|
||||
* [Dependencies](#dependencies)
|
||||
* [License](#license)
|
||||
* [Author](#author)
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||
|
||||
---
|
||||
### Maintainers and Contributors
|
||||
|
||||
## Default Variables
|
||||
[Robert Kaussow](https://gitea.rknet.org/xoxys)
|
||||
|
||||
### bitwardenrs_admin_token
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_admin_token: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_authenticator_disable_time_drift
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_authenticator_disable_time_drift: false
|
||||
```
|
||||
|
||||
### bitwardenrs_base_url
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_base_url: http://localhost/
|
||||
```
|
||||
|
||||
### bitwardenrs_cap_add
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_cap_add: []
|
||||
```
|
||||
|
||||
### bitwardenrs_cap_drop
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_cap_drop: []
|
||||
```
|
||||
|
||||
### bitwardenrs_container_name
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_container_name: bitwardenrs
|
||||
```
|
||||
|
||||
### bitwardenrs_cpu_shares
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_cpu_shares: _unset_
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_cpu_shares: '1024'
|
||||
```
|
||||
|
||||
### bitwardenrs_db_name
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_name: bitwardenrs
|
||||
```
|
||||
|
||||
### bitwardenrs_db_password
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_password: secure
|
||||
```
|
||||
|
||||
### bitwardenrs_db_port
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_port: 5432
|
||||
```
|
||||
|
||||
### bitwardenrs_db_server
|
||||
|
||||
This ansible roles does only support postgresql as database"
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_server: localhost
|
||||
```
|
||||
|
||||
### bitwardenrs_db_ssl_mode
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_ssl_mode: disable
|
||||
```
|
||||
|
||||
### bitwardenrs_db_ssl_rootcert
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_ssl_rootcert: /etc/ssl/certs/ca-certificates.crt
|
||||
```
|
||||
|
||||
### bitwardenrs_db_user
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_db_user: pgbitwardenrs
|
||||
```
|
||||
|
||||
### bitwardenrs_disable_2fa_remember
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_disable_2fa_remember: false
|
||||
```
|
||||
|
||||
### bitwardenrs_disable_icon_download
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_disable_icon_download: false
|
||||
```
|
||||
|
||||
### bitwardenrs_docker_compose_bin
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_docker_compose_bin: /usr/local/bin/docker-compose
|
||||
```
|
||||
|
||||
### bitwardenrs_exposed_ip
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_exposed_ip: 127.0.0.1
|
||||
```
|
||||
|
||||
### bitwardenrs_exposed_port
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_exposed_port: 80
|
||||
```
|
||||
|
||||
### bitwardenrs_extended_logging
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_extended_logging: true
|
||||
```
|
||||
|
||||
### bitwardenrs_extra_hosts
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_extra_hosts: []
|
||||
```
|
||||
|
||||
### bitwardenrs_healthcheck
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_healthcheck:
|
||||
test: '["CMD", "/usr/local/bin/healthcheck.sh"]'
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
```
|
||||
|
||||
### bitwardenrs_icon_blacklist_non_global_ips
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_icon_blacklist_non_global_ips: true
|
||||
```
|
||||
|
||||
### bitwardenrs_icon_blacklist_regexl
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_icon_blacklist_regexl: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_icon_cache_negttl
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_icon_cache_negttl: '{{ bitwardenrs_icon_cache_ttl }}'
|
||||
```
|
||||
|
||||
### bitwardenrs_icon_cache_ttl
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_icon_cache_ttl: 2592000
|
||||
```
|
||||
|
||||
### bitwardenrs_icon_download_timeout
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_icon_download_timeout: 10
|
||||
```
|
||||
|
||||
### bitwardenrs_image
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_image: xoxys/bitwardenrs:{{ bitwardenrs_version }}
|
||||
```
|
||||
|
||||
### bitwardenrs_invitations_allowed
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_invitations_allowed: true
|
||||
```
|
||||
|
||||
### bitwardenrs_ip_header
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ip_header: x-client-ip
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_bind_dn
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_bind_dn: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_bind_password
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_bind_password: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_bitwarden_admin_token
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_bitwarden_admin_token: "{{ bitwardenrs_admin_token | default('')\
|
||||
\ }}"
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_bitwarden_url
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_bitwarden_url: '{{ bitwardenrs_base_url }}'
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_cap_add
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_cap_add: []
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_cap_drop
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_cap_drop: []
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_container_name
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_container_name: bitwardenrs_ldap
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_cpu_shares
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_cpu_shares: _unset_
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_cpu_shares: '1024'
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_host
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_host: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_image
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_image: xoxys/bitwardenrs_ldap:{{ bitwardenrs_ldap_version }}
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_mail_field
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_mail_field: mail
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_memory_limit
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_memory_limit: _unset_
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_memory_limit: 512m
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_memory_reservation
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_memory_reservation: _unset_
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_memory_reservation: 256m
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_pids_limit
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_pids_limit: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_port
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_port: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_restart_policy
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_restart_policy: on-failure
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_scheme
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_scheme: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_search_base_dn
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_search_base_dn: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_search_filter
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_search_filter: (&(objectclass=*)(uid=*))
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_security_opt
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_security_opt: []
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_ssl
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_ssl: true
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_sync_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_sync_enabled: false
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_sync_interval_seconds
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_sync_interval_seconds: 60
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_sync_loop
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_sync_loop: true
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_version
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_version: latest
|
||||
```
|
||||
|
||||
### bitwardenrs_ldap_volumes_extra
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_volumes_extra: []
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_ldap_volumes_extra:
|
||||
- /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:/etc/ssl/certs/ca-certificates.crt:Z
|
||||
```
|
||||
|
||||
### bitwardenrs_log_level
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_log_level: Info
|
||||
```
|
||||
|
||||
### bitwardenrs_memory_limit
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_memory_limit: _unset_
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_memory_limit: 512m
|
||||
```
|
||||
|
||||
### bitwardenrs_memory_reservation
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_memory_reservation: _unset_
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_memory_reservation: 256m
|
||||
```
|
||||
|
||||
### bitwardenrs_password_iterations
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_password_iterations: 100000
|
||||
```
|
||||
|
||||
### bitwardenrs_pids_limit
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_pids_limit: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_reload_templates
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_reload_templates: false
|
||||
```
|
||||
|
||||
### bitwardenrs_restart_policy
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_restart_policy: on-failure
|
||||
```
|
||||
|
||||
### bitwardenrs_security_opt
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_security_opt: []
|
||||
```
|
||||
|
||||
### bitwardenrs_service_directory
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_service_directory: /var/lib/docker/services/bitwardenrs
|
||||
```
|
||||
|
||||
### bitwardenrs_show_password_hint
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_show_password_hint: true
|
||||
```
|
||||
|
||||
### bitwardenrs_signups_allowed
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_signups_allowed: false
|
||||
```
|
||||
|
||||
### bitwardenrs_signups_domains_whitelist
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_signups_domains_whitelist: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_signups_verify
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_signups_verify: false
|
||||
```
|
||||
|
||||
### bitwardenrs_signups_verify_resend_limit
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_signups_verify_resend_limit: 6
|
||||
```
|
||||
|
||||
### bitwardenrs_signups_verify_resend_time
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_signups_verify_resend_time: 3600
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_auth_mechanism
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_auth_mechanism: plain
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_from
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_from: bitwardenrs@localhost
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_from_name
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_from_name: bitwarden_rs
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_host
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_host: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_password
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_password: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_port
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_port: 587
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_ssl
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_ssl: true
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_timeout
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_timeout: 15
|
||||
```
|
||||
|
||||
### bitwardenrs_smtp_username
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_smtp_username: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_templates_folder
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_templates_folder: _unset_
|
||||
```
|
||||
|
||||
### bitwardenrs_version
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_version: latest
|
||||
```
|
||||
|
||||
### bitwardenrs_volumes_extra
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_volumes_extra: []
|
||||
```
|
||||
|
||||
#### Example usage
|
||||
|
||||
```YAML
|
||||
bitwardenrs_volumes_extra:
|
||||
- /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:/etc/ssl/certs/ca-certificates.crt:Z
|
||||
```
|
||||
|
||||
### bitwardenrs_web_vault_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_web_vault_enabled: true
|
||||
```
|
||||
|
||||
### bitwardenrs_websocket_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_websocket_enabled: false
|
||||
```
|
||||
|
||||
### bitwardenrs_websocket_exposed_ip
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_websocket_exposed_ip: 127.0.0.1
|
||||
```
|
||||
|
||||
### bitwardenrs_websocket_exposed_port
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
bitwardenrs_websocket_exposed_port: 3012
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
None.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
## Author
|
||||
|
||||
[xoxys](https://gitea.rknet.org/xoxys)
|
||||
|
1
molecule/default
Symbolic link
1
molecule/default
Symbolic link
@ -0,0 +1 @@
|
||||
centos7/
|
Loading…
Reference in New Issue
Block a user