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