matrix-docker-ansible-deploy/roles/matrix-awx/surveys/configure_corporal.json.j2

89 lines
3.6 KiB
Plaintext
Raw Normal View History

2021-08-13 16:05:57 +08:00
{
"name": "Configure Matrix Corporal",
"description": "Configure Matrix Corporal, a tool that manages your Matrix server according to a configuration policy.",
"spec": [
{
"question_name": "Enable Corporal",
"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.",
"required": true,
"min": null,
"max": null,
"default": "{{ matrix_corporal_enabled|string|lower }}",
"choices": "true\nfalse",
"new_question": true,
"variable": "matrix_corporal_enabled",
"type": "multiplechoice"
},
{
"question_name": "Corporal Policy Provider",
"question_description": "Controls what provider policy is used with Matrix Corporal.",
"required": true,
"min": null,
"max": null,
2021-10-10 14:10:06 +08:00
"default": "{{ awx_corporal_policy_provider_mode }}",
2021-08-13 16:05:57 +08:00
"choices": "Simple Static File\nHTTP Pull Mode (API Enabled)\nHTTP Push Mode (API Enabled)",
"new_question": true,
2021-10-10 14:10:06 +08:00
"variable": "awx_corporal_policy_provider_mode",
2021-08-13 16:05:57 +08:00
"type": "multiplechoice"
},
{
"question_name": "Simple Static File Configuration",
"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.",
"required": false,
"min": 0,
"max": 65536,
"default": "",
"new_question": true,
2021-10-10 14:10:06 +08:00
"variable": "awx_corporal_simple_static_config",
2021-08-13 16:05:57 +08:00
"type": "textarea"
},
{
"question_name": "HTTP Pull Mode URI",
"question_description": "The network address to remotely fetch the configuration from. Only needed if 'HTTP Pull Mode (API Enabled)' provider is selected.",
"required": false,
"min": 0,
"max": 4096,
2021-10-10 14:10:06 +08:00
"default": "{{ awx_corporal_pull_mode_uri }}",
2021-08-13 16:05:57 +08:00
"new_question": true,
2021-10-10 14:10:06 +08:00
"variable": "awx_corporal_pull_mode_uri",
2021-08-13 16:05:57 +08:00
"type": "text"
},
{
"question_name": "HTTP Pull Mode Authentication Token",
"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.",
"required": false,
"min": 0,
"max": 256,
2021-10-10 14:10:06 +08:00
"default": "{{ awx_corporal_pull_mode_token }}",
2021-08-13 16:05:57 +08:00
"choices": "",
"new_question": true,
2021-10-10 14:10:06 +08:00
"variable": "awx_corporal_pull_mode_token",
2021-08-13 16:05:57 +08:00
"type": "password"
},
{
"question_name": "Corporal API Authentication Token",
"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.",
"required": false,
"min": 0,
"max": 256,
2021-10-19 17:45:15 +08:00
"default": "{{ matrix_corporal_http_api_auth_token }}",
2021-08-13 16:05:57 +08:00
"choices": "",
"new_question": true,
2021-10-19 17:45:15 +08:00
"variable": "matrix_corporal_http_api_auth_token",
2021-08-13 16:05:57 +08:00
"type": "password"
},
{
"question_name": "Raise Synapse Ratelimits",
"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.",
"required": false,
"min": null,
"max": null,
2021-10-10 14:10:06 +08:00
"default": "{{ awx_corporal_raise_ratelimits }}",
2021-08-13 16:05:57 +08:00
"choices": "Normal\nRaised",
"new_question": true,
2021-10-19 17:45:15 +08:00
"variable": "awx_corporal_raise_ratelimits",
2021-08-13 16:05:57 +08:00
"type": "multiplechoice"
}
]
}