2014-01-04 03:32:05 +01:00
|
|
|
{% from "openssh/map.jinja" import openssh with context %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- openssh
|
|
|
|
|
|
|
|
sshd_banner:
|
|
|
|
file.managed:
|
|
|
|
- name: {{ openssh.banner }}
|
2017-07-28 00:55:34 +02:00
|
|
|
{% if openssh.banner_string is defined %}
|
|
|
|
- contents: |
|
|
|
|
{{ openssh.banner_string }}
|
|
|
|
{% else %}
|
2014-01-04 03:32:05 +01:00
|
|
|
- source: {{ openssh.banner_src }}
|
|
|
|
- template: jinja
|
2017-07-28 00:55:34 +02:00
|
|
|
{% endif %}
|