Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

89 строки
3.6 KiB

  1. {
  2. "name": "Configure Matrix Corporal",
  3. "description": "Configure Matrix Corporal, a tool that manages your Matrix server according to a configuration policy.",
  4. "spec": [
  5. {
  6. "question_name": "Enable Corporal",
  7. "question_description": "Controls if Matrix Corporal is enabled at all. If you're unsure if you need Matrix Corporal or not, you most likely don't.",
  8. "required": true,
  9. "min": null,
  10. "max": null,
  11. "default": "{{ matrix_corporal_enabled|string|lower }}",
  12. "choices": "true\nfalse",
  13. "new_question": true,
  14. "variable": "matrix_corporal_enabled",
  15. "type": "multiplechoice"
  16. },
  17. {
  18. "question_name": "Corporal Policy Provider",
  19. "question_description": "Controls what provider policy is used with Matrix Corporal.",
  20. "required": true,
  21. "min": null,
  22. "max": null,
  23. "default": "{{ matrix_corporal_policy_provider_mode }}",
  24. "choices": "Simple Static File\nHTTP Pull Mode (API Enabled)\nHTTP Push Mode (API Enabled)",
  25. "new_question": true,
  26. "variable": "matrix_corporal_policy_provider_mode",
  27. "type": "multiplechoice"
  28. },
  29. {
  30. "question_name": "Simple Static File Configuration",
  31. "question_description": "The configuration file for Matrix Corporal, only needed if 'Simple Static File' provider is selected, any configuration entered here will be saved and applied.",
  32. "required": false,
  33. "min": 0,
  34. "max": 65536,
  35. "default": "",
  36. "new_question": true,
  37. "variable": "matrix_corporal_simple_static_config",
  38. "type": "textarea"
  39. },
  40. {
  41. "question_name": "HTTP Pull Mode URI",
  42. "question_description": "The network address to remotely fetch the configuration from. Only needed if 'HTTP Pull Mode (API Enabled)' provider is selected.",
  43. "required": false,
  44. "min": 0,
  45. "max": 4096,
  46. "default": "{{ matrix_corporal_pull_mode_uri }}",
  47. "new_question": true,
  48. "variable": "matrix_corporal_pull_mode_uri",
  49. "type": "text"
  50. },
  51. {
  52. "question_name": "HTTP Pull Mode Authentication Token",
  53. "question_description": "An authentication token for pulling the Corporal configuration from a network location. Only needed if 'HTTP Pull Mode (API Enabled)' provider is selected. WARNING: You must set a strong and unique password here.",
  54. "required": false,
  55. "min": 0,
  56. "max": 256,
  57. "default": "{{ matrix_corporal_pull_mode_token }}",
  58. "choices": "",
  59. "new_question": true,
  60. "variable": "matrix_corporal_pull_mode_token",
  61. "type": "password"
  62. },
  63. {
  64. "question_name": "Corporal API Authentication Token",
  65. "question_description": "An authentication token for interfacing with Corporals API. Only needed to be set if 'HTTP Pull Mode (API Enabled)' or 'HTTP Push Mode (API Enabled)' provider is selected. WARNING: You must set a strong and unique password here.",
  66. "required": false,
  67. "min": 0,
  68. "max": 256,
  69. "default": "{{ matrix_corporal_http_api_auth_token }}",
  70. "choices": "",
  71. "new_question": true,
  72. "variable": "matrix_corporal_http_api_auth_token",
  73. "type": "password"
  74. },
  75. {
  76. "question_name": "Raise Synapse Ratelimits",
  77. "question_description": "For Matrix Corporal to work you will need to temporarily raise the rate limits for logins, please return this value to 'Normal' after you're done using Corporal.",
  78. "required": false,
  79. "min": null,
  80. "max": null,
  81. "default": "{{ matrix_corporal_raise_ratelimits }}",
  82. "choices": "Normal\nRaised",
  83. "new_question": true,
  84. "variable": "matrix_corporal_raise_ratelimits",
  85. "type": "multiplechoice"
  86. }
  87. ]
  88. }