Fixed supporting multiline banner_string defined in the pillar.master
file.managed: | file.managed: | ||||
- name: {{ openssh.banner }} | - name: {{ openssh.banner }} | ||||
{% if openssh.banner_string is defined %} | {% if openssh.banner_string is defined %} | ||||
- contents: | | |||||
{{ openssh.banner_string }} | |||||
- contents: {{ openssh.banner_string | yaml }} | |||||
{% else %} | {% else %} | ||||
- source: {{ openssh.banner_src }} | - source: {{ openssh.banner_src }} | ||||
- template: jinja | - template: jinja |