0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-28 03:28:09 +01:00
openssh-formula/openssh/banner.sls

15 lines
333 B
Plaintext

{% from "openssh/map.jinja" import openssh with context %}
include:
- openssh
sshd_banner:
file.managed:
- name: {{ openssh.banner }}
{% if openssh.banner_string is defined %}
- contents: {{ openssh.banner_string | yaml }}
{% else %}
- source: {{ openssh.banner_src }}
- template: jinja
{% endif %}