2024-10-23 20:01:28 +02:00
|
|
|
---
|
|
|
|
manual:
|
|
|
|
|
|
|
|
use_for_https:
|
|
|
|
description: Also use this proxy for HTTPS
|
|
|
|
default: true
|
2024-10-23 20:01:31 +02:00
|
|
|
|
2024-10-23 20:01:37 +02:00
|
|
|
"{{ identifier }}_proxy":
|
|
|
|
description: "{{ identifier }} Proxy"
|
|
|
|
dynamic:
|
|
|
|
- HTTPS
|
|
|
|
- SOCKS
|
2024-10-23 20:01:33 +02:00
|
|
|
hidden:
|
2024-10-23 20:01:38 +02:00
|
|
|
jinja: |
|
|
|
|
{% if my_identifier == 'HTTPS' and manual.use_for_https %}
|
|
|
|
HTTPS is same has HTTP
|
|
|
|
{% endif %}
|
|
|
|
params:
|
|
|
|
my_identifier:
|
|
|
|
type: identifier
|
|
|
|
description: |
|
|
|
|
in HTTPS case if "manual.use_for_https" is set to True
|
2024-10-23 20:01:31 +02:00
|
|
|
|
|
|
|
address:
|
2024-10-23 20:01:37 +02:00
|
|
|
description: "{{ identifier }} address"
|
2024-10-23 20:01:35 +02:00
|
|
|
default:
|
|
|
|
variable: manual.http_proxy.address
|
2024-10-23 20:01:31 +02:00
|
|
|
|
|
|
|
port:
|
2024-10-23 20:01:37 +02:00
|
|
|
description: "{{ identifier }} port"
|
2024-10-23 20:01:35 +02:00
|
|
|
default:
|
|
|
|
variable: manual.http_proxy.port
|
2024-10-23 20:01:39 +02:00
|
|
|
|
|
|
|
version:
|
|
|
|
description: SOCKS host version used by proxy
|
|
|
|
choices:
|
|
|
|
- v4
|
|
|
|
- v5
|
|
|
|
default: v5
|
|
|
|
disabled:
|
|
|
|
type: identifier
|
|
|
|
when: 'HTTPS'
|