2024-11-02 14:58:26 +01:00
|
|
|
---
|
|
|
|
manual:
|
|
|
|
|
2024-11-02 14:58:39 +01:00
|
|
|
use_for_https: true # Also use this proxy for HTTPS
|
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:57 +01:00
|
|
|
{% if my_identifier == 'HTTPS' and _.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:
|
2024-11-02 14:58:58 +01:00
|
|
|
variable: __.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:
|
2024-11-02 14:58:58 +01:00
|
|
|
variable: __.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'
|