8 lines
258 B
Django/Jinja
8 lines
258 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 -%}
|