2020-07-10 01:56:49 +02:00
|
|
|
{%- from "openvpn_client/map.jinja" import openvpn_client with context -%}
|
|
|
|
{%- for client in openvpn_client.config.vpn.remote_hosts -%}
|
2020-07-10 00:58:55 +02:00
|
|
|
{%- if client.name == salt['grains.get']('host') -%}
|
|
|
|
{{ client.name }}
|
|
|
|
{{ client.password }}
|
|
|
|
{%- endif -%}
|
2022-12-17 23:34:54 +01:00
|
|
|
{%- endfor -%}
|