mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
lala
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
|
||||
- name: Creating a file with content
|
||||
copy:
|
||||
dest: "/etc/banner"
|
||||
dest: "/etc/motd"
|
||||
content: |
|
||||
{{ logo.stdout }}
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
regexp: "^Banner.* "
|
||||
line: "Banner /etc/banner"
|
||||
line: "#Banner /etc/banner"
|
||||
|
||||
- name: Reconfigure sshd
|
||||
ansible.builtin.lineinfile:
|
||||
|
Reference in New Issue
Block a user