Skip to content
Snippets Groups Projects
Verified Commit 086ced9f authored by micah's avatar micah :speech_balloon:
Browse files

Set vpnweb SIP defaults, if none are set (#26).

If these are not set, and the group_vars/all/sip.yml is modified, we can cause
an ansible error due to variables being undefined.

This sets them to the defaults, so we cannot get in that condition.
parent b9c7e7e2
Branches fix_defaults
No related tags found
1 merge request!24Set vpnweb SIP defaults, if none are set (#26).
......@@ -86,15 +86,15 @@ vpnweb:
VPNWEB_CACRT: /etc/leap/ca/client_ca.crt
VPNWEB_CAKEY: /etc/leap/keys/client_ca.key
VPNWEB_PROVIDER_CA: /etc/leap/ca/api_ca.crt
VPNWEB_AUTH: "{{ vpnweb_auth }}"
VPNWEB_SIP_USER: "{{ vpnweb_sip_user }}"
VPNWEB_SIP_PASS: "{{ vpnweb_sip_password }}"
VPNWEB_AUTH_SECRET: "{{ vpnweb_auth_secret }}"
VPNWEB_SIP_HOST: "{{ vpnweb_sip_host }}"
VPNWEB_SIP_PORT: "{{ vpnweb_sip_port }}"
VPNWEB_SIP_LIBR_LOCATION: "{{ vpnweb_sip_location }}"
VPNWEB_SIP_TERMINATOR: "{{ vpnweb_sip_terminator }}"
VPNWEB_PASSWORD_POLICY: "{{ vpnweb_password_policy }}"
VPNWEB_AUTH: "{{ vpnweb_auth | default('anon') }}"
VPNWEB_SIP_USER: "{{ vpnweb_sip_user | default('') }}"
VPNWEB_SIP_PASS: "{{ vpnweb_sip_password | default('') }}"
VPNWEB_AUTH_SECRET: "{{ vpnweb_auth_secret | default('') }}"
VPNWEB_SIP_HOST: "{{ vpnweb_sip_host | default('') }}"
VPNWEB_SIP_PORT: "{{ vpnweb_sip_port | default('') }}"
VPNWEB_SIP_LIBR_LOCATION: "{{ vpnweb_sip_location | default('') }}"
VPNWEB_SIP_TERMINATOR: "{{ vpnweb_sip_terminator | default('') }}"
VPNWEB_PASSWORD_POLICY: "{{ vpnweb_password_policy | default('') }}"
public_endpoints:
- name: api
port: 8000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment