matrix/roles/hydrogen/defaults/main/main.yml

22 lines
740 B
YAML

---
hydrogen_state: present
hydrogen_user: hydrogen
hydrogen_version: "0.5.0"
hydrogen_deployment_method: docker
hydrogen_config_file: "/etc/hydrogen/config.json"
hydrogen_config: ~
hydrogen_config_default_home_server: matrix.org
hydrogen_config_default_theme_light: "element-light"
hydrogen_config_default_theme_dark: "element-dark"
hydrogen_config_default_theme:
light: "{{ hydrogen_config_default_theme_light }}"
dark: "{{ hydrogen_config_default_theme_dark }}"
hydrogen_base_config:
defaultHomeServer: "{{ hydrogen_config_default_home_server }}"
defaultTheme: "{{ hydrogen_config_default_theme }}"
hydrogen_full_config: >-2
{{ hydrogen_base_config | default({}, true)
| combine(hydrogen_config | default({}, true)) }}