Browse Source

use lookup_key in lookup instead of string

tags/v1.0
Maximilian Eschenbacher 5 years ago
parent
commit
a243fa45c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wireguard/files/wg.conf

+ 1
- 1
wireguard/files/wg.conf View File

@@ -1,6 +1,6 @@
{%- macro output_if_set(object, lookup_key, output_key) %}
{%- if object.get(lookup_key) %}
{{output_key}} = {{object.get('lookup_key')}}
{{output_key}} = {{object.get(lookup_key)}}
{%- endif %}
{%- endmacro %}
{%- macro output_list_if_set(object, lookup_key, output_key) %}

Loading…
Cancel
Save