vaultwarden_ldap_docker
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
vaultwarden_ldap_bind_dn: _unset_
vaultwarden_ldap_bind_password: _unset_
vaultwarden_ldap_cap_add: []
vaultwarden_ldap_cap_drop: []
vaultwarden_ldap_container_name: vaultwarden_ldap
vaultwarden_ldap_cpu_shares: _unset_
vaultwarden_ldap_cpu_shares: '1024'
vaultwarden_ldap_host: _unset_
vaultwarden_ldap_image: thegeeklab/vaultwarden-ldap:{{ vaultwarden_ldap_version }}
vaultwarden_ldap_mail_field: mail
vaultwarden_ldap_memory_limit: _unset_
vaultwarden_ldap_memory_limit: 512m
vaultwarden_ldap_memory_reservation: _unset_
vaultwarden_ldap_memory_reservation: 256m
vaultwarden_ldap_networks:
- name: vaultwarden_default
external: true
vaultwarden_ldap_networks:
- name: default
# optional network driver, defaults to 'bride'
driver: host
vaultwarden_ldap_networks_applied:
- vaultwarden_default
vaultwarden_ldap_pids_limit: _unset_
vaultwarden_ldap_port: _unset_
vaultwarden_ldap_restart_policy: always
vaultwarden_ldap_scheme: _unset_
vaultwarden_ldap_search_base_dn: _unset_
vaultwarden_ldap_search_filter: (&(objectclass=*)(uid=*))
vaultwarden_ldap_security_opt: []
vaultwarden_ldap_service_directory: /var/lib/docker/services/vaultwarden_ldap
vaultwarden_ldap_service_stopped: false
vaultwarden_ldap_ssl: true
vaultwarden_ldap_sync_interval_seconds: 60
vaultwarden_ldap_sync_loop: true
vaultwarden_ldap_vaultwarden_admin_token: abc123
vaultwarden_ldap_vaultwarden_url: vaultwarden.example.com
vaultwarden_ldap_version: latest
Define required docker volumes.
vaultwarden_ldap_volumes: []
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
None.