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

55 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-08-13 16:05:57 +08:00
{
"name": "Configure Website Access Backup",
"description": "Configure base domain website settings and access the services backup.",
"spec": [
{
"question_name": "Customise Base Domain Website",
"question_description": "Set if you want to adjust the base domain website using SFTP.",
"required": true,
"min": null,
"max": null,
"default": "{{ awx_customise_base_domain_website | string | lower }}",
2021-08-13 16:05:57 +08:00
"choices": "true\nfalse",
"new_question": true,
2021-10-09 15:43:47 +08:00
"variable": "awx_customise_base_domain_website",
2021-08-13 16:05:57 +08:00
"type": "multiplechoice"
},
{
"question_name": "SFTP Authorisation Method",
"question_description": "Set whether you want to disable SFTP, use a password to connect to SFTP or connect with a more secure SSH key.",
"required": true,
"min": null,
"max": null,
"default": "{{ awx_sftp_auth_method | string }}",
2021-08-13 16:05:57 +08:00
"choices": "Disabled\nPassword\nSSH Key",
"new_question": true,
"variable": "awx_sftp_auth_method",
2021-08-13 16:05:57 +08:00
"type": "multiplechoice"
},
{
"question_name": "SFTP Password",
"question_description": "Sets the password of the 'sftp' account, which allows you to upload a multi-file static website by SFTP, as well as export the latest copy of your Matrix service. Must be defined if 'Password' method is selected. WARNING: You must set a strong and unique password here.",
"required": false,
"min": 0,
"max": 64,
"default": "{{ awx_sftp_password }}",
2021-08-13 16:05:57 +08:00
"choices": "",
"new_question": true,
"variable": "awx_sftp_password",
2021-08-13 16:05:57 +08:00
"type": "password"
},
{
"question_name": "SFTP Public SSH Key (More Secure)",
"question_description": "Sets the public SSH key used to access the 'sftp' account, which allows you to upload a multi-file static website by SFTP, as well as export the latest copy of your Matrix service. Must be defined if 'SSH Key' method is selected.",
"required": false,
"min": 0,
"max": 16384,
"default": "{{ awx_sftp_public_key }}",
2021-08-13 16:05:57 +08:00
"choices": "",
"new_question": true,
"variable": "awx_sftp_public_key",
2021-08-13 16:05:57 +08:00
"type": "text"
}
]
}