This commit is contained in:
mosesrenegade 2018-08-24 08:46:47 +00:00 committed by GitHub
commit 22f1575599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@
module: shell
openssl rand -hex 16
become: no
ignore_errors: yes
register: CA_password
- name: Generate p12 export password

View file

@ -1,6 +1,6 @@
[Interface]
PrivateKey = {{ lookup('file', wireguard_config_path + '/private/' + item.1) }}
Address = {{ wireguard_network_ipv4['clients_range'] }}.{{ wireguard_network_ipv4['clients_start'] + item.0 + 1 }}/32{% if ipv6_support %},{{ wireguard_network_ipv6['clients_range'] }}{{ wireguard_network_ipv6['clients_start'] + item.0 + 1 }}/{{ wireguard_network_ipv6['prefix'] }}
PrivateKey = {{ lookup('file', wireguard_config_path + '/private/' + item.1) }}
{% endif %}
DNS = {{ wireguard_dns_servers }}