{% from "openssh/map.jinja" import openssh with context %} openssh: pkg.installed: - name: {{ openssh.server }} service.running: - enable: True - name: {{ openssh.service }} - require: - pkg: {{ openssh.server }} - file: sshd_banner - watch: - file: sshd_config sshd_config: file.managed: - name: {{ openssh.sshd_config }} - source: {{ openssh.sshd_config_src }} sshd_banner: file.managed: - name: {{ openssh.banner }} - source: {{ openssh.banner_src }} - template: jinja