--- {%- from "postgresql/map.jinja" import postgresql with context %} postgresql-install: pkg.installed: - pkgs: {%- for pkg in postgresql.packages %} - {{ pkg }} {%- endfor %}