diff --git a/config/roles/vpnweb/tasks/main.yml b/config/roles/vpnweb/tasks/main.yml index 5c50c2ecbd626258a015a9be02c6d659b8fbd088..36484a1234a3a7ed2ebfb8ef74adf40c1b86d819 100644 --- a/config/roles/vpnweb/tasks/main.yml +++ b/config/roles/vpnweb/tasks/main.yml @@ -29,12 +29,12 @@ path: "/etc/leap/config/vpnweb/{{ item }}" state: directory with_items: - - 4 + - 3 - name: "Render the eip-service.json template" template: src: 'eip-config.json.j2' - dest: '/etc/leap/config/vpnweb/4/eip-service.json' + dest: '/etc/leap/config/vpnweb/3/eip-service.json' notify: - "restart docker-vpnweb-vpnweb" diff --git a/plugins/action/simplevpn.py b/plugins/action/simplevpn.py index a829260a8cba945258bb36a4c94bf6ea0ef4be4c..5d2d7751b94a8bafe0987facddbd23297cc118f6 100644 --- a/plugins/action/simplevpn.py +++ b/plugins/action/simplevpn.py @@ -35,8 +35,8 @@ def produceEipConfig(config, obfs4_state_dir, public_domain, transports): # Build the JSON data structure that needs to end up in eip-service.json. eip_config = { - "serial": 4, - "version": 4, + "serial": 3, + "version": 3, "locations": config.locations, "gateways": [{ "host": "%s.%s" % (v["inventory_hostname"], public_domain), @@ -65,7 +65,7 @@ def produceProviderConfig(public_domain, provider_api_uri, ca_cert_uri, ca_publi # Build the JSON data structure that needs to end up in provider.json. provider_config = { "api_uri": provider_api_uri, - "api_version": "4", + "api_version": "3", "ca_cert_fingerprint": "SHA256: " + ca_fp, "ca_cert_uri": ca_cert_uri, "default_language": "en",