|
52 | 52 | when: |
53 | 53 | - server_name is undefined |
54 | 54 | - algo_provider != "local" |
55 | | - - block: |
56 | | - - name: Cellular On Demand prompt |
57 | | - pause: |
58 | | - prompt: | |
59 | | - Do you want macOS/iOS IPsec clients to enable "Connect On Demand" when connected to cellular networks? |
60 | | - [y/N] |
61 | | - register: _ondemand_cellular |
62 | | - when: ondemand_cellular is undefined |
63 | 55 |
|
64 | | - - name: Wi-Fi On Demand prompt |
65 | | - pause: |
66 | | - prompt: | |
67 | | - Do you want macOS/iOS IPsec clients to enable "Connect On Demand" when connected to Wi-Fi? |
68 | | - [y/N] |
69 | | - register: _ondemand_wifi |
70 | | - when: ondemand_wifi is undefined |
| 56 | + - name: Cellular On Demand prompt |
| 57 | + pause: |
| 58 | + prompt: | |
| 59 | + Do you want macOS/iOS clients to enable "Connect On Demand" when connected to cellular networks? |
| 60 | + [y/N] |
| 61 | + register: _ondemand_cellular |
| 62 | + when: ondemand_cellular is undefined |
| 63 | + |
| 64 | + - name: Wi-Fi On Demand prompt |
| 65 | + pause: |
| 66 | + prompt: | |
| 67 | + Do you want macOS/iOS clients to enable "Connect On Demand" when connected to Wi-Fi? |
| 68 | + [y/N] |
| 69 | + register: _ondemand_wifi |
| 70 | + when: ondemand_wifi is undefined |
71 | 71 |
|
72 | | - - name: Trusted Wi-Fi networks prompt |
73 | | - pause: |
74 | | - prompt: | |
75 | | - List the names of any trusted Wi-Fi networks where macOS/iOS IPsec clients should not use "Connect On Demand" |
76 | | - (e.g., your home network. Comma-separated value, e.g., HomeNet,OfficeWifi,AlgoWiFi) |
77 | | - register: _ondemand_wifi_exclude |
78 | | - when: |
79 | | - - ondemand_wifi_exclude is undefined |
80 | | - - (ondemand_wifi|default(false)|bool) or |
81 | | - (booleans_map[_ondemand_wifi.user_input|default(omit)]|default(false)) |
| 72 | + - name: Trusted Wi-Fi networks prompt |
| 73 | + pause: |
| 74 | + prompt: | |
| 75 | + List the names of any trusted Wi-Fi networks where macOS/iOS clients should not use "Connect On Demand" |
| 76 | + (e.g., your home network. Comma-separated value, e.g., HomeNet,OfficeWifi,AlgoWiFi) |
| 77 | + register: _ondemand_wifi_exclude |
| 78 | + when: |
| 79 | + - ondemand_wifi_exclude is undefined |
| 80 | + - (ondemand_wifi|default(false)|bool) or |
| 81 | + (booleans_map[_ondemand_wifi.user_input|default(omit)]|default(false)) |
82 | 82 |
|
83 | | - - name: Retain the PKI prompt |
84 | | - pause: |
85 | | - prompt: | |
86 | | - Do you want to retain the keys (PKI)? (required to add users in the future, but less secure) |
87 | | - [y/N] |
88 | | - register: _store_pki |
89 | | - when: store_pki is undefined |
90 | | - when: ipsec_enabled |
| 83 | + - name: Retain the PKI prompt |
| 84 | + pause: |
| 85 | + prompt: | |
| 86 | + Do you want to retain the keys (PKI)? (required to add users in the future, but less secure) |
| 87 | + [y/N] |
| 88 | + register: _store_pki |
| 89 | + when: |
| 90 | + - store_pki is undefined |
| 91 | + - ipsec_enabled |
91 | 92 |
|
92 | 93 | - name: DNS adblocking prompt |
93 | 94 | pause: |
|
0 commit comments