simplify banner

This commit is contained in:
Louis Abel 2022-07-08 15:07:40 -07:00
parent 13c1a9a8c2
commit 96568a25b2
Signed by: label
GPG Key ID: 6735C0E1BD65D048
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@
- name: SSH banner
ansible.builtin.copy:
src: "etc/rockybanner"
dest: "/etc/rockybanner"
dest: "/etc/banner"
owner: root
group: root
mode: '0644'

View File

@ -150,7 +150,7 @@ Subsystem sftp /usr/libexec/openssh/sftp-server
################################################################################
# Below managed by {{ ansible_managed }}
#
Banner /etc/rockybanner
Banner /etc/banner
PermitRootLogin no
X11Forwarding no
LoginGraceTime 1m