Matrix Docker Ansible eploy
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.
 
 

56 lines
1.7 KiB

  1. #jinja2: lstrip_blocks: True
  2. slack_hook_port: {{ matrix_appservice_slack_slack_port }}
  3. inbound_uri_prefix: "{{ matrix_appservice_slack_inbound_uri_prefix }}"
  4. bot_username: "{{ matrix_appservice_slack_bot_name }}"
  5. username_prefix: {{ matrix_appservice_slack_user_prefix }}
  6. homeserver:
  7. server_name: "{{ matrix_domain }}"
  8. url: "{{ matrix_appservice_slack_homeserver_url }}"
  9. media_url: "{{ matrix_appservice_slack_homeserver_media_url }}"
  10. # Real Time Messaging API (RTM)
  11. # Optional if slack_hook_port and inbound_uri_prefix are defined, required otherwise.
  12. #
  13. rtm:
  14. # Use the RTM API to listen for requests, which does not require
  15. # the bridge to listen on the hook port.
  16. # You should leave this enabled, unless you plan to use the
  17. # bridge exclusively for webhooks.
  18. #
  19. enable: true
  20. # Logging level specific to RTM traffic.
  21. #
  22. log_level: "silent"
  23. {% if matrix_appservice_slack_puppeting_enabled %}
  24. puppeting:
  25. enabled: true
  26. onboard_users: {{ matrix_appservice_slack_puppeting_onboard_users | to_json }}
  27. oauth2:
  28. client_id: {{ matrix_appservice_slack_puppeting_slackapp_client_id | to_json }}
  29. client_secret: {{ matrix_appservice_slack_puppeting_slackapp_client_secret | to_json }}
  30. {% endif %}
  31. {% if matrix_appservice_slack_team_sync_enabled %}
  32. team_sync:
  33. all:
  34. channels:
  35. enabled: true
  36. alias_prefix: {{ matrix_appservice_slack_team_sync_alias_prefix | to_json }}
  37. users:
  38. enabled: true
  39. {% endif %}
  40. {% if matrix_appservice_slack_database_engine == 'nedb' %}
  41. dbdir: "/data"
  42. {% else %}
  43. db:
  44. engine: {{ matrix_appservice_slack_database_engine|to_json }}
  45. connectionString: {{ matrix_appservice_slack_database_connectionString|to_json }}
  46. {% endif %}
  47. matrix_admin_room: "{{ matrix_appservice_slack_control_room_id }}"