8142-samba_server_final #49
|
@ -27,6 +27,10 @@ base_packages:
|
|||
- ncdu
|
||||
- debconf-utils
|
||||
- net-tools
|
||||
- gpg
|
||||
- curl
|
||||
- cloud-guest-utils
|
||||
- rsync
|
||||
locales_present:
|
||||
- en_US.UTF-8
|
||||
- es_ES.UTF-8
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[Definition]
|
||||
actionstart =
|
||||
actionstop =
|
|
@ -13,6 +13,14 @@
|
|||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
notify: restart sshd
|
||||
- name: Adjust action configuration to reduce noise
|
||||
copy:
|
||||
src: sendmail-common.local
|
||||
dest: /etc/fail2ban/action.d/sendmail-common.local
|
||||
owner: root
|
||||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
notify: restart sshd
|
||||
- name: Configure fail2ban service
|
||||
template:
|
||||
src: jail.local
|
||||
|
|
|
@ -4,7 +4,19 @@
|
|||
# Author: Xavi Lleó
|
||||
# Copyright (c) 2025 Verdnatura S.L. All rights reserved.
|
||||
# Version: 1.0.3
|
||||
# ¿Juan Wants add GPL License?
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
# A configuration file is required in the user's home directory who runs this command.
|
||||
# The file should be sourced using CONFIG_FILE before execution.
|
||||
|
|
Loading…
Reference in New Issue