mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-24 21:33:37 +02:00
Allow to config banner in pillar
This commit is contained in:
@@ -6,5 +6,10 @@ include:
|
||||
sshd_banner:
|
||||
file.managed:
|
||||
- name: {{ openssh.banner }}
|
||||
{% if openssh.banner_string is defined %}
|
||||
- contents: |
|
||||
{{ openssh.banner_string }}
|
||||
{% else %}
|
||||
- source: {{ openssh.banner_src }}
|
||||
- template: jinja
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user