matrix/roles/element/defaults/main/main.yml

19 lines
660 B
YAML

---
element_user: element
element_state: "present"
element_version: "1.11.87"
element_deployment_method: "docker"
element_base_path: "/opt/element"
element_source_path: "{{ element_base_path }}/src"
element_dist_path: "{{ element_source_path }}/dist"
element_config_path: "{{ element_base_path }}/config"
element_config_file: "{{ element_config_path }}/config.json"
element_host_uid: >-2
{{ ((element_user_info is defined) and ('uid' in element_user_info))
| ternary(element_user_info.uid, element_user) }}
element_host_gid: >-2
{{ ((element_user_info is defined) and ('uid' in element_user_info))
| ternary(element_user_info.group, element_user) }}