paulbsd-salt/states/openvpn_client/pass.j2

7 lines
257 B
Plaintext
Raw Normal View History

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 -%}
2021-08-19 21:15:24 +02:00
{%- endfor -%}