Robert Kaussow
acdd2bdff9
Author: Robert Kaussow <mail@thegeeklab.de> Date: Mon Jun 20 22:20:45 2022 +0200 chore: switch to main as default branch
6.7 KiB
6.7 KiB
title | type |
---|---|
vaultwarden_ldap_docker | docs |
Role to setup a Vaultwarden LDAP Sync Service for Vaultwarden password safe.
- Default Variables
- vaultwarden_ldap_bind_dn
- vaultwarden_ldap_bind_password
- vaultwarden_ldap_cap_add
- vaultwarden_ldap_cap_drop
- vaultwarden_ldap_container_name
- vaultwarden_ldap_cpu_shares
- vaultwarden_ldap_host
- vaultwarden_ldap_image
- vaultwarden_ldap_mail_field
- vaultwarden_ldap_memory_limit
- vaultwarden_ldap_memory_reservation
- vaultwarden_ldap_networks
- vaultwarden_ldap_networks_applied
- vaultwarden_ldap_pids_limit
- vaultwarden_ldap_port
- vaultwarden_ldap_restart_policy
- vaultwarden_ldap_scheme
- vaultwarden_ldap_search_base_dn
- vaultwarden_ldap_search_filter
- vaultwarden_ldap_security_opt
- vaultwarden_ldap_service_directory
- vaultwarden_ldap_service_stopped
- vaultwarden_ldap_ssl
- vaultwarden_ldap_sync_interval_seconds
- vaultwarden_ldap_sync_loop
- vaultwarden_ldap_vaultwarden_admin_token
- vaultwarden_ldap_vaultwarden_url
- vaultwarden_ldap_version
- vaultwarden_ldap_volumes
- Dependencies
Default Variables
vaultwarden_ldap_bind_dn
Default value
vaultwarden_ldap_bind_dn: _unset_
vaultwarden_ldap_bind_password
Default value
vaultwarden_ldap_bind_password: _unset_
vaultwarden_ldap_cap_add
Default value
vaultwarden_ldap_cap_add: []
vaultwarden_ldap_cap_drop
Default value
vaultwarden_ldap_cap_drop: []
vaultwarden_ldap_container_name
Default value
vaultwarden_ldap_container_name: vaultwarden_ldap
vaultwarden_ldap_cpu_shares
Default value
vaultwarden_ldap_cpu_shares: _unset_
Example usage
vaultwarden_ldap_cpu_shares: '1024'
vaultwarden_ldap_host
Default value
vaultwarden_ldap_host: _unset_
vaultwarden_ldap_image
Default value
vaultwarden_ldap_image: thegeeklab/vaultwarden-ldap:{{ vaultwarden_ldap_version }}
vaultwarden_ldap_mail_field
Default value
vaultwarden_ldap_mail_field: mail
vaultwarden_ldap_memory_limit
Default value
vaultwarden_ldap_memory_limit: _unset_
Example usage
vaultwarden_ldap_memory_limit: 512m
vaultwarden_ldap_memory_reservation
Default value
vaultwarden_ldap_memory_reservation: _unset_
Example usage
vaultwarden_ldap_memory_reservation: 256m
vaultwarden_ldap_networks
Default value
vaultwarden_ldap_networks:
- name: vaultwarden_default
external: true
Example usage
vaultwarden_ldap_networks:
- name: default
# optional network driver, defaults to 'bride'
driver: host
vaultwarden_ldap_networks_applied
Default value
vaultwarden_ldap_networks_applied:
- vaultwarden_default
vaultwarden_ldap_pids_limit
Default value
vaultwarden_ldap_pids_limit: _unset_
vaultwarden_ldap_port
Default value
vaultwarden_ldap_port: _unset_
vaultwarden_ldap_restart_policy
Default value
vaultwarden_ldap_restart_policy: always
vaultwarden_ldap_scheme
Default value
vaultwarden_ldap_scheme: _unset_
vaultwarden_ldap_search_base_dn
Default value
vaultwarden_ldap_search_base_dn: _unset_
vaultwarden_ldap_search_filter
Default value
vaultwarden_ldap_search_filter: (&(objectclass=*)(uid=*))
vaultwarden_ldap_security_opt
Default value
vaultwarden_ldap_security_opt: []
vaultwarden_ldap_service_directory
Default value
vaultwarden_ldap_service_directory: /var/lib/docker/services/vaultwarden_ldap
vaultwarden_ldap_service_stopped
Default value
vaultwarden_ldap_service_stopped: false
vaultwarden_ldap_ssl
Default value
vaultwarden_ldap_ssl: true
vaultwarden_ldap_sync_interval_seconds
Default value
vaultwarden_ldap_sync_interval_seconds: 60
vaultwarden_ldap_sync_loop
Default value
vaultwarden_ldap_sync_loop: true
vaultwarden_ldap_vaultwarden_admin_token
Default value
vaultwarden_ldap_vaultwarden_admin_token: abc123
vaultwarden_ldap_vaultwarden_url
Default value
vaultwarden_ldap_vaultwarden_url: vaultwarden.example.com
vaultwarden_ldap_version
Default value
vaultwarden_ldap_version: latest
vaultwarden_ldap_volumes
Define required docker volumes.
Default value
vaultwarden_ldap_volumes: []
Example usage
vaultwarden_ldap_volumes:
# Instead of the name you could specify a path on the container host system,
# but you also have to enable bind mount for this volume
- name: data
# target location inside the container
dest: /app/data
# enable bind mount, if false volume will be configured as named volume
# keep in mind you MUST set bind in any case
bind: True
Dependencies
None.