Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.5 KiB

MB_ADMIN_EMAIL={{ metabase_admin_email }}
MB_EMAIL_FROM_ADDRESS={{ metabase_from_email }}
MB_EMAIL_SMTP_HOST={{metabase_smtp_server }}
MB_EMAIL_SMTP_PORT={{ metabase_smtp_port }}
{% if metabase_smtp_user is defined and metabase_smtp_pass is defined %}
MB_EMAIL_SMTP_USERNAME={{ metabase_smtp_user }}
MB_EMAIL_SMTP_PASSWORD={{ metabase_smtp_pass }}
{% endif %}
MB_EMAIL_SMTP_SECURITY={{ metabase_smtp_starttls | ternary('starttls','none') }}
MB_ANON_TRACKING_ENABLED=false
MB_DB_DBNAME={{ metabase_db_name }}
MB_DB_HOST={{ metabase_db_server }}
MB_DB_USER={{ metabase_db_user }}
MB_DB_PASS={{ metabase_db_pass | quote }}
MB_DB_PORT={{ metabase_db_port }}
MB_DB_TYPE={{ metabase_db_engine }}
MB_ENCRYPTION_SECRET_KEY={{ metabase_encryption_key | quote }}
MB_JETTY_HOST=0.0.0.0
MB_JETTY_PORT={{ metabase_port }}
MB_PLUGINS_DIR={{ metabase_root_dir }}/plugins
{% if metabase_lock_lang is defined and metabase_lock_lang is sameas true %}
MB_SITE_LOCALE={{ metabase_lang }}
{% endif %}
MB_SITE_URL={{ metabase_public_url }}
MB_CHECK_FOR_UPDATES=false
{% if metabase_enable_embedding is defined %}
MB_ENABLE_EMBEDDING={{ metabase_enable_embedding | ternary('true', 'false') }}
{% endif %}
{% if metabase_enable_public_sharing is defined %}
MB_ENABLE_PUBLIC_SHARING={{ metabase_enable_public_sharing | ternary('true', 'false') }}
{% endif %}
{% if metabase_smtp_user is defined and metabase_smtp_pass is defined %}
MB_ENABLE_QUERY_CACHING={{ metabase_enable_cache | ternary('true', 'false') }}
{% endif %}