7 lines
257 B
Django/Jinja
7 lines
257 B
Django/Jinja
{%- from "openvpn_client/map.jinja" import openvpn_client with context -%}
|
|
{%- for client in openvpn_client.config.vpn.remote_hosts -%}
|
|
{%- if client.name == salt['grains.get']('host') -%}
|
|
{{ client.name }}
|
|
{{ client.password }}
|
|
{%- endif -%}
|
|
{%- endfor -%} |