diff --git a/roles/debian-base/defaults/main.yaml b/roles/debian-base/defaults/main.yaml index 36db4a8..d2375bf 100644 --- a/roles/debian-base/defaults/main.yaml +++ b/roles/debian-base/defaults/main.yaml @@ -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 diff --git a/roles/debian-base/files/sendmail-common.local b/roles/debian-base/files/sendmail-common.local new file mode 100644 index 0000000..b389b31 --- /dev/null +++ b/roles/debian-base/files/sendmail-common.local @@ -0,0 +1,3 @@ +[Definition] +actionstart = +actionstop = diff --git a/roles/debian-base/tasks/fail2ban.yml b/roles/debian-base/tasks/fail2ban.yml index b0123d3..8474033 100644 --- a/roles/debian-base/tasks/fail2ban.yml +++ b/roles/debian-base/tasks/fail2ban.yml @@ -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 diff --git a/scripts/backup_pve.sh b/scripts/backup_pve.sh index 326058a..0a86659 100644 --- a/scripts/backup_pve.sh +++ b/scripts/backup_pve.sh @@ -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 . # # 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.