mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-03 02:23:39 +02:00
Rename variables
This commit is contained in:
parent
25bdfff832
commit
51265d5da9
4 changed files with 5 additions and 5 deletions
|
@ -10,8 +10,8 @@ users:
|
||||||
|
|
||||||
### Advanced users only below this line ###
|
### Advanced users only below this line ###
|
||||||
|
|
||||||
# If True re-init all existing certificates. (True or False)
|
# If True re-init all existing certificates. Boolean
|
||||||
easyrsa_reinit_existent: False
|
keys_clean_all: False
|
||||||
|
|
||||||
vpn_network: 10.19.48.0/24
|
vpn_network: 10.19.48.0/24
|
||||||
vpn_network_ipv6: 'fd9d:bc11:4020::/48'
|
vpn_network_ipv6: 'fd9d:bc11:4020::/48'
|
||||||
|
|
|
@ -16,7 +16,7 @@ wireguard_network_ipv6:
|
||||||
clients_start: 100
|
clients_start: 100
|
||||||
wireguard_vpn_network: "{{ wireguard_network_ipv4['subnet'] }}/{{ wireguard_network_ipv4['prefix'] }}"
|
wireguard_vpn_network: "{{ wireguard_network_ipv4['subnet'] }}/{{ wireguard_network_ipv4['prefix'] }}"
|
||||||
wireguard_vpn_network_ipv6: "{{ wireguard_network_ipv6['subnet'] }}/{{ wireguard_network_ipv6['prefix'] }}"
|
wireguard_vpn_network_ipv6: "{{ wireguard_network_ipv6['subnet'] }}/{{ wireguard_network_ipv6['prefix'] }}"
|
||||||
easyrsa_reinit_existent: false
|
keys_clean_all: false
|
||||||
wireguard_dns_servers: >-
|
wireguard_dns_servers: >-
|
||||||
{% if local_dns|default(false)|bool or dns_encryption|default(false)|bool == true %}
|
{% if local_dns|default(false)|bool or dns_encryption|default(false)|bool == true %}
|
||||||
{{ local_service_ip }}
|
{{ local_service_ip }}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
file:
|
file:
|
||||||
dest: configs/{{ IP_subject_alt_name }}/pki
|
dest: configs/{{ IP_subject_alt_name }}/pki
|
||||||
state: absent
|
state: absent
|
||||||
when: easyrsa_reinit_existent|bool == True
|
when: keys_clean_all|bool == True
|
||||||
|
|
||||||
- name: Ensure the pki directories exist
|
- name: Ensure the pki directories exist
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
file:
|
file:
|
||||||
dest: "/etc/wireguard/private_{{ item }}.lock"
|
dest: "/etc/wireguard/private_{{ item }}.lock"
|
||||||
state: absent
|
state: absent
|
||||||
when: easyrsa_reinit_existent|bool == True
|
when: keys_clean_all|bool == True
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ users }}"
|
- "{{ users }}"
|
||||||
- "{{ IP_subject_alt_name }}"
|
- "{{ IP_subject_alt_name }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue