--- {%- from "dip/map.jinja" import dip with context %} dip-service-file: file.managed: - name: /etc/systemd/system/dip.service - source: salt://dip/templates/dip.service.j2 - user: root - group: root - template: jinja dip-service: service.running: - name: dip - enable: true