pull/171/head
Jack Ivanov 8 years ago
parent d558781473
commit 0269cafff7

@ -29,10 +29,12 @@ server_name: "{{ ansible_ssh_host }}"
IP_subject_alt_name: "{{ ansible_ssh_host }}"
dns_servers:
- 8.8.8.8
- 8.8.4.4
- 2001:4860:4860::8888
- 2001:4860:4860::8844
ipv4:
- 8.8.8.8
- 8.8.4.4
ipv6:
- 2001:4860:4860::8888
- 2001:4860:4860::8844
strongswan_enabled_plugins:
- aes

@ -28,7 +28,7 @@ conn %default
{% if local_dns is defined and local_dns == "Y" %}
rightdns={{ local_service_ip }}
{% else %}
rightdns={% for host in dns_servers %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}
rightdns={% for host in dns_servers.ipv4 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% if ipv6_support is defined and ipv6_support == "yes" %},{% for host in dns_servers.ipv6 %}{{ host }}{% if not loop.last %},{% endif %}{% endfor %}{% endif %}
{% endif %}
conn ikev2-pubkey

Loading…
Cancel
Save