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