added ssh banner for WiMORE
This commit is contained in:
parent
4aa9fe1be1
commit
5a8c61e54a
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- hosts: all
|
||||
become: true
|
||||
tasks:
|
||||
- import_tasks: tasks/general/sshbanner-wimore.yml
|
||||
- import_tasks: tasks/debian-general/sshbanner.yml
|
||||
when: ansible_facts["os_family"] == "Debian"
|
||||
- import_tasks: tasks/rhel-general/sshbanner.yml
|
||||
when: ansible_facts["os_family"] == "RedHat"
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
- name: Ensure /etc/banner is populated with BJPHoster Network
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/banner
|
||||
content: |
|
||||
┌─────────────────────────────────────────────────────────┐
|
||||
│ __ ___ __ __ ___ ___ ___ │
|
||||
│ \ \ / (_) \/ |/ _ \| _ \ __| │
|
||||
│ \ \/\/ /| | |\/| | (_) | / _| │
|
||||
│ \_/\_/ |_|_| |_|\___/|_|_\___| │
|
||||
│ │
|
||||
│ Questo sistema e' gestito dal reparto IT Cloud WiMORE, │
|
||||
│ ogni accesso non autorizzato a questo sistema sara' │
|
||||
│ perseguito nei termini applicabili di legge. │
|
||||
│ │
|
||||
│ This system is managed by the WiMORE IT Cloud team, any │
|
||||
│ unauthorized access on this system will be persecuted │
|
||||
│ to the extent permitted by the applicable law. │
|
||||
└─────────────────────────────────────────────────────────┘
|
Loading…
Reference in New Issue