mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
define local_dns if dns tag used (#531)
This commit is contained in:
parent
0031d2809e
commit
627b7d5d9b
2 changed files with 7 additions and 1 deletions
2
algo
2
algo
|
@ -40,7 +40,7 @@ read -p "
|
|||
Do you want to install a DNS resolver on this VPN server, to block ads while surfing?
|
||||
[y/N]: " -r dns_enabled
|
||||
dns_enabled=${dns_enabled:-n}
|
||||
if [[ "$dns_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" dns"; EXTRA_VARS+=" local_dns=Y"; fi
|
||||
if [[ "$dns_enabled" =~ ^(y|Y)$ ]]; then ROLES+=" dns"; fi
|
||||
|
||||
read -p "
|
||||
Do you want each user to have their own account for SSH tunneling?
|
||||
|
|
|
@ -35,3 +35,9 @@
|
|||
- name: Define the commonName
|
||||
set_fact:
|
||||
IP_subject_alt_name: "{{ IP_subject_alt_name }}"
|
||||
|
||||
- name: The DNS tag is defined
|
||||
set_fact:
|
||||
local_dns: Y
|
||||
tags:
|
||||
- dns
|
||||
|
|
Loading…
Add table
Reference in a new issue