33 lines
1.3 KiB
YAML
33 lines
1.3 KiB
YAML
---
|
|
osp_git_root: 'https://gitlab.com/Deamos/flask-nginx-rtmp-manager.git'
|
|
osp_git_commit: '0.7.9'
|
|
osp_worker_rtmp_port: 5999
|
|
osp_worker_start_port: 5010
|
|
osp_worker_count: "{{ ansible_processor_nproc }}"
|
|
osp_worker_timeout: 30
|
|
# should not be edited
|
|
osp_worker_worker: 1
|
|
|
|
osp_tls_enabled: False
|
|
osp_hostname: "{{ inventory_hostname }}"
|
|
|
|
osp_http_user: "http"
|
|
osp_http_group: "http"
|
|
osp_http_path: "/var/www"
|
|
|
|
osp_db_host: localhost
|
|
osp_db_name: osp
|
|
osp_db_user: osp
|
|
osp_db_location: 'sqlite:///db/database.db'
|
|
osp_db_type: "sqlite"
|
|
#osp_db_pass: "" # required
|
|
#osp_db_type: "cockroachdb"
|
|
osp_db_location_postgresql: "postgresql://{{ osp_db_user }}@{{ osp_db_host }}/{{ osp_db_name }}"
|
|
osp_db_location_mysql: "mysql+pymysql://{{ osp_db_user }}:{{osp_db_pass}}@{{ osp_db_host }}/{{ osp_db_name }}?charset=utf8mb4"
|
|
osp_secret_key: "{{ lookup('password', 'credentials/'+inventory_hostname+'/osp_secret_key length=8 chars=digits') }}"
|
|
osp_password_salt: "{{ lookup('password', 'credentials/'+inventory_hostname+'/osp_password_salt length=8 chars=digits') }}"
|
|
osp_allow_registration: yes
|
|
osp_require_email_registration: yes
|
|
osp_ejabberd_domain: "{{ osp_hostname }}"
|
|
osp_ejabberd_password: "{{ lookup('password', 'credentials/'+inventory_hostname+'/osp_ejabberd_password length=8 chars=digits') }}"
|