mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 19:03:04 +02:00
Enable onDemand prompts for WireGuard
This commit is contained in:
parent
2510fc3bc4
commit
422eb2de3b
1 changed files with 32 additions and 32 deletions
64
input.yml
64
input.yml
|
@ -52,41 +52,41 @@
|
||||||
when:
|
when:
|
||||||
- server_name is undefined
|
- server_name is undefined
|
||||||
- algo_provider != "local"
|
- algo_provider != "local"
|
||||||
- block:
|
|
||||||
- name: Cellular On Demand prompt
|
|
||||||
pause:
|
|
||||||
prompt: |
|
|
||||||
Do you want macOS/iOS IPsec clients to enable "Connect On Demand" when connected to cellular networks?
|
|
||||||
[y/N]
|
|
||||||
register: _ondemand_cellular
|
|
||||||
when: ondemand_cellular is undefined
|
|
||||||
|
|
||||||
- name: Wi-Fi On Demand prompt
|
- name: Cellular On Demand prompt
|
||||||
pause:
|
pause:
|
||||||
prompt: |
|
prompt: |
|
||||||
Do you want macOS/iOS IPsec clients to enable "Connect On Demand" when connected to Wi-Fi?
|
Do you want macOS/iOS clients to enable "Connect On Demand" when connected to cellular networks?
|
||||||
[y/N]
|
[y/N]
|
||||||
register: _ondemand_wifi
|
register: _ondemand_cellular
|
||||||
when: ondemand_wifi is undefined
|
when: ondemand_cellular is undefined
|
||||||
|
|
||||||
- name: Trusted Wi-Fi networks prompt
|
- name: Wi-Fi On Demand prompt
|
||||||
pause:
|
pause:
|
||||||
prompt: |
|
prompt: |
|
||||||
List the names of any trusted Wi-Fi networks where macOS/iOS IPsec clients should not use "Connect On Demand"
|
Do you want macOS/iOS clients to enable "Connect On Demand" when connected to Wi-Fi?
|
||||||
(e.g., your home network. Comma-separated value, e.g., HomeNet,OfficeWifi,AlgoWiFi)
|
[y/N]
|
||||||
register: _ondemand_wifi_exclude
|
register: _ondemand_wifi
|
||||||
when:
|
when: ondemand_wifi is undefined
|
||||||
- ondemand_wifi_exclude is undefined
|
|
||||||
- (ondemand_wifi|default(false)|bool) or
|
|
||||||
(booleans_map[_ondemand_wifi.user_input|default(omit)]|default(false))
|
|
||||||
|
|
||||||
- name: Retain the PKI prompt
|
- name: Trusted Wi-Fi networks prompt
|
||||||
pause:
|
pause:
|
||||||
prompt: |
|
prompt: |
|
||||||
Do you want to retain the keys (PKI)? (required to add users in the future, but less secure)
|
List the names of any trusted Wi-Fi networks where macOS/iOS clients should not use "Connect On Demand"
|
||||||
[y/N]
|
(e.g., your home network. Comma-separated value, e.g., HomeNet,OfficeWifi,AlgoWiFi)
|
||||||
register: _store_pki
|
register: _ondemand_wifi_exclude
|
||||||
when: store_pki is undefined
|
when:
|
||||||
|
- ondemand_wifi_exclude is undefined
|
||||||
|
- (ondemand_wifi|default(false)|bool) or
|
||||||
|
(booleans_map[_ondemand_wifi.user_input|default(omit)]|default(false))
|
||||||
|
|
||||||
|
- name: Retain the PKI prompt
|
||||||
|
pause:
|
||||||
|
prompt: |
|
||||||
|
Do you want to retain the keys (PKI)? (required to add users in the future, but less secure)
|
||||||
|
[y/N]
|
||||||
|
register: _store_pki
|
||||||
|
when: store_pki is undefined
|
||||||
when: ipsec_enabled
|
when: ipsec_enabled
|
||||||
|
|
||||||
- name: DNS adblocking prompt
|
- name: DNS adblocking prompt
|
||||||
|
|
Loading…
Add table
Reference in a new issue