AndroidVPNClientProfiles #240

pull/248/head
Jack Ivanov 7 years ago
parent 7b468fae79
commit aca036142f

@ -259,6 +259,18 @@
- "{{ PayloadContent.results }}"
no_log: True
- name: Build the strongswan app android config
local_action:
module: template
src: sswan.j2
dest: configs/{{ IP_subject_alt_name }}/{{ item.0 }}.sswan
mode: 0600
become: no
with_together:
- "{{ users }}"
- "{{ PayloadContent.results }}"
no_log: True
- name: Build the client ipsec config file
local_action:
module: template

@ -0,0 +1,11 @@
{
"uuid": "{{ 600000 | random | to_uuid }}",
"name": "Algo VPN {{ IP_subject_alt_name }}",
"type": "ikev2-cert",
"remote": {
"addr": "{{ IP_subject_alt_name }}"
},
"local": {
"p12": "{{ item.1.stdout }}"
}
}
Loading…
Cancel
Save