--- {%- from "kubernetes/map.jinja" import kubernetes with context %} {%- for service in kubernetes.services %} kubernetes-{{ service }}-service: service.running: - name: {{ service }} - enable: true {%- endfor %}