matrix/roles/cinny/defaults/main/main.yml

19 lines
600 B
YAML

---
cinny_user: cinny
cinny_state: "present"
cinny_version: "4.2.2"
cinny_deployment_method: "docker"
cinny_base_path: "/opt/cinny"
cinny_source_path: "{{ cinny_base_path }}/src"
cinny_dist_path: "{{ cinny_source_path }}/dist"
cinny_config_path: "{{ cinny_base_path }}/config"
cinny_config_file: "{{ cinny_config_path }}/config.json"
cinny_host_uid: >-
{{ (cinny_user_info is defined and 'uid' in cinny_user_info)
| ternary(cinny_user_info.uid, cinny_user) }}
cinny_host_gid: >-
{{ (cinny_user_info is defined and 'group' in cinny_user_info)
| ternary(cinny_user_info.group, cinny_user) }}