simplify banner
This commit is contained in:
parent
13c1a9a8c2
commit
96568a25b2
@ -80,7 +80,7 @@
|
|||||||
- name: SSH banner
|
- name: SSH banner
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "etc/rockybanner"
|
src: "etc/rockybanner"
|
||||||
dest: "/etc/rockybanner"
|
dest: "/etc/banner"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
@ -150,7 +150,7 @@ Subsystem sftp /usr/libexec/openssh/sftp-server
|
|||||||
################################################################################
|
################################################################################
|
||||||
# Below managed by {{ ansible_managed }}
|
# Below managed by {{ ansible_managed }}
|
||||||
#
|
#
|
||||||
Banner /etc/rockybanner
|
Banner /etc/banner
|
||||||
PermitRootLogin no
|
PermitRootLogin no
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
LoginGraceTime 1m
|
LoginGraceTime 1m
|
||||||
|
Loading…
Reference in New Issue
Block a user