From 12ca01d06de66d577bb93a7357f811daf8f214ca Mon Sep 17 00:00:00 2001 From: David Lopez Date: Tue, 31 Dec 2024 20:10:11 +0000 Subject: [PATCH 1/5] add cloud-guest-utils (growpart) --- roles/debian-base/defaults/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/debian-base/defaults/main.yaml b/roles/debian-base/defaults/main.yaml index 36db4a8..c774992 100644 --- a/roles/debian-base/defaults/main.yaml +++ b/roles/debian-base/defaults/main.yaml @@ -27,6 +27,7 @@ base_packages: - ncdu - debconf-utils - net-tools + - cloud-guest-utils locales_present: - en_US.UTF-8 - es_ES.UTF-8 From 30c37434eed1d4a8d84aada9d9223cca3d39ccdc Mon Sep 17 00:00:00 2001 From: David Lopez Date: Wed, 1 Jan 2025 12:27:27 +0000 Subject: [PATCH 2/5] add gpg curl --- roles/debian-base/defaults/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/debian-base/defaults/main.yaml b/roles/debian-base/defaults/main.yaml index 36db4a8..956d484 100644 --- a/roles/debian-base/defaults/main.yaml +++ b/roles/debian-base/defaults/main.yaml @@ -27,6 +27,8 @@ base_packages: - ncdu - debconf-utils - net-tools + - gpg + - curl locales_present: - en_US.UTF-8 - es_ES.UTF-8 From 7484cd174a7557eb1092e1f4d199b391bcb25a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Lle=C3=B3=20Tom=C3=A1s?= Date: Thu, 2 Jan 2025 10:47:08 +0100 Subject: [PATCH 3/5] Refs #8025: Refactorizacion-AWX-Debian-Base_Fail2ban_to_noise --- roles/debian-base/files/sendmail-common.local | 3 +++ roles/debian-base/tasks/fail2ban.yml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 roles/debian-base/files/sendmail-common.local 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 From 0a4932845560c5a71bef61d4a2aa70f5e33edcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Lle=C3=B3?= Date: Thu, 2 Jan 2025 10:54:08 +0000 Subject: [PATCH 4/5] Actualizar roles/debian-base/defaults/main.yaml Rsync all we know --- roles/debian-base/defaults/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/debian-base/defaults/main.yaml b/roles/debian-base/defaults/main.yaml index 36db4a8..93f8d0e 100644 --- a/roles/debian-base/defaults/main.yaml +++ b/roles/debian-base/defaults/main.yaml @@ -27,6 +27,7 @@ base_packages: - ncdu - debconf-utils - net-tools + - rsync locales_present: - en_US.UTF-8 - es_ES.UTF-8 From 45a65bcdf97446fff69d4b5cbe618124391380a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Lle=C3=B3=20Tom=C3=A1s?= Date: Mon, 13 Jan 2025 09:14:23 +0100 Subject: [PATCH 5/5] Add GPL license to PVE backup script --- scripts/backup_pve.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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.