file.managed: | file.managed: | ||||
- name: /etc/wireguard/{{interface}}.conf | - name: /etc/wireguard/{{interface}}.conf | ||||
- source: salt://wireguard/files/wg.conf | - source: salt://wireguard/files/wg.conf | ||||
- template: jinja2 | |||||
- template: jinja | |||||
- context: | - context: | ||||
interface: {{interface}} | interface: {{interface}} | ||||
- mode: 600 | - mode: 600 |