ansible-role-openstreamingp.../defaults/main.yml

32 lines
1.2 KiB
YAML
Raw Normal View History

2020-11-12 11:41:52 +01:00
---
osp_git_root: 'https://gitlab.com/Deamos/flask-nginx-rtmp-manager.git'
osp_git_commit: '0.7.9'
osp_worker_start_port: 5000
osp_worker_count: "{{ ansible_processor_nproc }}"
osp_worker_timeout: 30
# should not be edited
osp_worker_worker: 1
2020-11-12 11:41:52 +01:00
2020-12-09 00:25:50 +01:00
osp_tls_enabled: False
osp_hostname: "{{ inventory_hostname }}"
2020-11-13 22:02:44 +01:00
osp_http_user: "http"
osp_http_group: "http"
osp_http_path: "/var/www"
2020-11-12 11:41:52 +01:00
2020-11-13 22:02:44 +01:00
osp_db_host: localhost
osp_db_name: osp
osp_db_user: osp
2020-11-12 11:41:52 +01:00
osp_db_location: 'sqlite:///db/database.db'
2020-11-13 22:02:44 +01:00
osp_db_type: "sqlite"
2020-11-20 18:05:07 +01:00
#osp_db_pass: "" # required
2020-11-13 22:02:44 +01:00
#osp_db_type: "cockroachdb"
osp_db_location_postgresql: "postgresql://{{ osp_db_user }}@{{ osp_db_host }}/{{ osp_db_name }}"
2020-11-20 18:05:07 +01:00
osp_db_location_mysql: "mysql+pymysql://{{ osp_db_user }}:{{osp_db_pass}}@{{ osp_db_host }}/{{ osp_db_name }}?charset=utf8mb4"
2020-11-12 11:41:52 +01:00
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
2020-12-09 00:25:50 +01:00
osp_ejabberd_domain: "{{ osp_hostname }}"
2020-11-12 11:41:52 +01:00
osp_ejabberd_password: "{{ lookup('password', 'credentials/'+inventory_hostname+'/osp_ejabberd_password length=8 chars=digits') }}"