Go to file
2019-10-17 19:23:22 +00:00
defaults fix secrets 2019-08-12 17:50:21 +02:00
handlers remove nginx integration 2019-07-27 10:47:58 +02:00
meta initial commit 2019-01-18 14:52:23 +01:00
tasks cleanup 2019-08-12 17:29:37 +02:00
templates remove unused empty variables 2019-08-15 11:24:55 +02:00
.drone.jsonnet refactor ci pipeline 2019-10-17 21:20:25 +02:00
.drone.yml refactor ci pipeline 2019-10-17 21:20:25 +02:00
.gitignore [SKIP CI] remove pyc files 2019-05-26 18:00:34 +02:00
HEADER.md refactor ci pipeline 2019-10-17 21:20:25 +02:00
LICENSE Initial commit 2019-01-18 14:04:13 +01:00
README.md [SKIP CI] update readme 2019-10-17 19:23:22 +00:00

xoxys.matrix

Build Status

Table of content


Default Variables

matrix_version

Default value

matrix_version: 1.2.1

matrix_user

Default value

matrix_user: matrix

matrix_user_home

Default value

matrix_user_home: /home/{{ matrix_user }}

matrix_group

Default value

matrix_group: '{{ matrix_user }}'

matrix_extra_groups

Default value

matrix_extra_groups: []

matrix_packages

Default value

matrix_packages:
  - '@Development tools'
  - libtiff-devel
  - libjpeg-devel
  - libzip-devel
  - freetype-devel
  - lcms2-devel
  - libwebp-devel
  - tcl-devel
  - tk-devel
  - redhat-rpm-config
  - python-virtualenv
  - python36-devel
  - libffi-devel
  - openssl-devel

matrix_lvm_enabled

Default value

matrix_lvm_enabled: false

matrix_base_dir

Default value

matrix_base_dir: /opt/matrix

matrix_conf_dir

Default value

matrix_conf_dir: '{{ matrix_base_dir }}/config'

matrix_data_dir

Default value

matrix_data_dir: '{{ matrix_base_dir }}/data'

matrix_log_dir

Default value

matrix_log_dir: '{{ matrix_base_dir }}/log'

matrix_log_file_level

Default value

matrix_log_file_level: INFO

matrix_log_console_level

Default value

matrix_log_console_level: ERROR

matrix_log_synapse_level

Default value

matrix_log_synapse_level: INFO

matrix_log_synapse_sql_level

Default value

matrix_log_synapse_sql_level: INFO

matrix_log_ldap_level

Default value

matrix_log_ldap_level: INFO

matrix_log_ldap_auth_level

Default value

matrix_log_ldap_auth_level: INFO

matrix_logrotate_enabled

Default value

matrix_logrotate_enabled: false

matrix_logrotate_config

Default value

matrix_logrotate_config:
  - log: '{{ matrix_log_dir }}/homeserver.log'
    options:
      - weekly
      - rotate 5
      - maxsize 512K
      - compress
      - delaycompress
      - create 640 {{ matrix_user }} {{ matrix_group }}

matrix_restart_policy

Default value

matrix_restart_policy: on-failure

matrix_server_url

Default value

matrix_server_url: example.com

matrix_client_url

Default value

matrix_client_url: https://matrix.example.com

matrix_web_client_location

Default value

matrix_web_client_location: /path/to/web/root

matrix_filter_timeline_limit

Default value

matrix_filter_timeline_limit: -1

matrix_http_bind_ips

Default value

matrix_http_bind_ips:
  - '::'
  - 0.0.0.0

matrix_http_bind_port

Default value

matrix_http_bind_port: 8008

matrix_https_bind_ips

Default value

matrix_https_bind_ips: '{{ matrix_http_bind_ips }}'

matrix_https_bind_port

Default value

matrix_https_bind_port: 8448

matrix_ldap_auth_enabled

Default value

matrix_ldap_auth_enabled: false

matrix_ldap_auth_server

Default value

matrix_ldap_auth_server: ldaps://ldap.example.com:636

matrix_ldap_auth_use_starttls

Default value

matrix_ldap_auth_use_starttls: 'false'

matrix_ldap_auth_basedn

Default value

matrix_ldap_auth_basedn: ou=users,dc=example,dc=com

matrix_ldap_auth_uid_attr

Default value

matrix_ldap_auth_uid_attr: uid

matrix_ldap_auth_mail_attr

Default value

matrix_ldap_auth_mail_attr: email

matrix_ldap_auth_name_attr

Default value

matrix_ldap_auth_name_attr: cn

matrix_postgres_enabled

Default value

matrix_postgres_enabled: false

matrix_postgres_ssl_mode

Default value

matrix_postgres_ssl_mode: disable

matrix_postgres_ssl_root_cert

Default value

matrix_postgres_ssl_root_cert: /etc/pki/tls/certs/ca-bundle.trust.crt

matrix_postgres_server

Default value

matrix_postgres_server: postgres.example.com

matrix_postgres_port

Default value

matrix_postgres_port: 5432

matrix_postgres_superuser

Default value

matrix_postgres_superuser: postgres

matrix_postgres_password

Default value

matrix_postgres_password: secure

matrix_postgres_db

Default value

matrix_postgres_db:
  name: matrix
  lc_collate: en_US.UTF-8
  lc_ctype: en_US.UTF-8'
  encoding: UTF-8
  template: template0
  login_host: localhost
  login_user: '{{ matrix_postgres_superuser }}'
  login_password: '{{ matrix_postgres_password }}'
  port: '{{ matrix_postgres_port }}'
  state: present

matrix_postgres_user

Default value

matrix_postgres_user:
  name: pgmatrix
  password: matrix
  encrypted: yes
  db: '{{ matrix_postgres_db.name }}'
  login_host: localhost
  login_user: '{{ matrix_postgres_superuser }}'
  login_password: '{{ matrix_postgres_password }}'
  port: '{{ matrix_postgres_port }}'
  state: present

matrix_iptables_enabled

Default value

matrix_iptables_enabled: false

matrix_open_ports

Default value

matrix_open_ports:
  - name: allow_matrix_web
    rules: "-A INPUT -m state --state NEW -p tcp --dport {{ matrix_http_bind_port\
      \ }} -j ACCEPT\n"
    state: present

matrix_url_preview_enabled

Default value

matrix_url_preview_enabled: false

matrix_url_preview_max_spider_size

Default value

matrix_url_preview_max_spider_size: 10M

matrix_macaroon_secret_key

Default value

matrix_macaroon_secret_key: jr;vhMlW=+U8pwBhVE^=6.,M94Gcyg_07Z-nNAsgj4ZZ:ew:HV

matrix_form_secret

Default value

matrix_form_secret: oFP3m&,r^wJ=Tr#=Ruww5+h0e;-DZqcuVGXV4XgRZIAt~Gv2YF

matrix_tls_enabled

Default value

matrix_tls_enabled: false

matrix_tls_dhparam_path

Default value

matrix_tls_dhparam_path: '{{ matrix_base_dir }}/tls/dhparam.pem'

matrix_tls_dhparam_size

Default value

matrix_tls_dhparam_size: 2048

matrix_tls_cert_path

Default value

matrix_tls_cert_path: '{{ matrix_base_dir }}/tls/certs/mycert.pem'

matrix_tls_key_path

Default value

matrix_tls_key_path: '{{ matrix_base_dir }}/tls/private/mykey.pem'

matrix_tls_cert_source

Default value

matrix_tls_cert_source: mycert.pem

matrix_tls_key_source

Default value

matrix_tls_key_source: mykey.pem

Dependencies

None.

License

Robert Kaussow

Author

Robert Kaussow