- source: salt://wireguard/files/wg.conf | - source: salt://wireguard/files/wg.conf | ||||
- template: jinja | - template: jinja | ||||
- context: | - context: | ||||
interface: {{interface}} | |||||
interface: {{salt['pillar.get']('wireguard:' ~ interface)}} | |||||
- mode: 600 | - mode: 600 | ||||
{% endif %} | {% endif %} | ||||