Browse Source

pass whole dict to wg.conf

tags/v1.0
Maximilian Eschenbacher 6 years ago
parent
commit
06cd3092d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wireguard/init.sls

+ 1
- 1
wireguard/init.sls View File

@@ -28,7 +28,7 @@ wireguard_interface_{{interface}}_config:
- source: salt://wireguard/files/wg.conf
- template: jinja
- context:
interface: {{interface}}
interface: {{salt['pillar.get']('wireguard:' ~ interface)}}
- mode: 600
{% endif %}


Loading…
Cancel
Save