Commit Graph

234 Commits

Author SHA1 Message Date
Xavi Lleó 921e3538cd Refs #8025 Rol debian-base&guest. ssh task - unify generate SSH key pairs. Add witness task to control initial setup. Separate conf ssh files for failban & ssh task. Remove handler that uses shell, no need it for pam update. 2024-10-16 14:04:55 +02:00
Xavi Lleó 72e30fa606 Refs #8025 Rol debian-base. bacula task - don´t restart if no changes 2024-10-15 15:58:24 +02:00
Xavi Lleó ce7f8503f1 Refs #8025 - Rol debian-base: Refactor Bacula task to manage certs from a variable - your live in a variable way. 2024-10-15 15:28:06 +02:00
Xavi Lleó 944e91071a Refs #8025 Role debian-base: task bacula. Copy pub cert. 2024-10-15 13:40:10 +02:00
Xavi Lleó 6e0d940cc0 Refs #8025 Role debian-base: Fail2ban task add register to do last step when jail.local changes 2024-10-15 12:28:15 +02:00
Xavi Lleó d141bc8a75 Refs #8025 Role debian-base: Refactor vn-repo to ensure idempotency and enhance major Bacula task. 2024-10-15 12:24:26 +02:00
Xavi Lleó 684a298e03 Refs #8025 Rol debian-base. fail2ban task - ensure /var/log/auth exists before restarting Fail2ban for systemd exit code 0 2024-10-14 13:53:36 +02:00
Xavi Lleó 49c42b4127 Refs #8025 Rol debian-base. fail2ban task - Add email notification and whois report action for sshd in local jail. 2024-10-14 12:10:28 +02:00
Xavi Lleó 43019754c4 Refs #8025 Rol debian-base. ssh task - add notify to restart sshd when changes came. 2024-10-14 09:36:10 +02:00
Xavi Lleó 588db894a1 Refs #8025 Rol debian-base. All task - Refactor from octal permissions to plain text 2024-10-10 16:12:29 +02:00
Xavi Lleó 3e7771ba4c Refs #8025 Rol debian-base. Task ssh refactor 2024-10-10 16:06:01 +02:00
Xavi Lleó 94ca22734d Refs #8025 Rol debian-base. Task ssh to conf.d directory 2024-10-10 15:48:34 +02:00
Xavi Lleó e195130241 Refs #8025 Rol debian-base. Task fail2ban jinga template. 2024-10-10 14:47:43 +02:00
Xavi Lleó 06cc6fa26b Refs #8025 Rol debian-base. Task ssh move from debian-once to ., refactor handlers 2024-10-10 13:36:16 +02:00
Xavi Lleó 33586c7f96 Refs #8025 Rol debian-base. Task install, nrpe, fail2ban fix, refactor handlers 2024-10-10 13:21:32 +02:00
Xavi Lleó d14b123219 Refs #8025 Rol debian-base. Task timesync systemd fix, vars add to defaults, refactor handlers 2024-10-10 11:49:42 +02:00
Xavi Lleó 616beda4b7 Refs #8025 Debian-base - minor fix nrpe to bind ipv4 2024-10-08 16:35:53 +02:00
Xavi Lleó 3ad39e03a8 Refs #8025 Rol debian-base. Task nrpe fix, vars remove and move to group_vars and defaults. 2024-10-08 16:12:56 +02:00
Xavi Lleó 88c47d3c3a Refs #8025 Rol debian-base. Task relayhost fix and handler exim update config. 2024-10-08 12:34:52 +02:00
Xavi Lleó f6bef9c98a refs #8025 Merge with main 2024-10-08 09:34:38 +02:00
Juan Ferrer d4c21376cd refs #8025 passbolt create fixes 2024-10-07 19:29:20 +02:00
Juan Ferrer fed934b5db refs #8025 passbolt create fixes 2024-10-07 19:26:29 +02:00
Juan Ferrer 153493a875 refs #8025 root task debug fix 2024-10-07 18:42:54 +02:00
Juan Ferrer a0c48b9aad refs #8025 hostname sintax fix 2024-10-07 18:41:33 +02:00
Juan Ferrer bd310a73df refs #8025 Create passbolt password, FQDN fix 2024-10-07 18:39:47 +02:00
Xavi Lleó 32fa5102ce Refs #8025 debian base rol - more locales and group vars 2024-10-07 16:41:41 +02:00
Xavi Lleó 7ec58a2f89 Refs #8025 debian base rol - approche install packages, triggers-notify in main 2024-10-07 15:42:12 +02:00
Xavi Lleó 4139e78a9d Refs #8025 Update notify triggers in the debconf Ansible module for locales and tzdata to reconfigure packages. 2024-10-07 13:10:30 +02:00
Xavi Lleó 24864f694f Refs #8025 tasks from debian-base role tzdata refactor 2024-10-07 12:35:23 +02:00
Xavi Lleó 606548db7e Refs #8025 Resolv task moved to debian-base role - Review & refactor tasks from debian-base role defuser, install and locate 2024-10-07 12:06:19 +02:00
Xavi Lleó d6c51141bf Refs #8025 Solution to approach resolv.conf only on case no dhcp-client is used 2024-10-07 09:43:51 +02:00
Juan Ferrer 0936c97025 refs #8025 PVE fixes 2024-10-04 17:16:51 +02:00
Xavi Lleó 757d3dfe29 refs #8025 Little modifications - Using module systemd insted service. Other approach to hosts file. More strict disable apparmor. 2024-10-04 13:15:55 +02:00
Juan Ferrer 6bce31ab19 refs #8025 Fix: Get NSLCD password from Passbolt 2024-10-02 13:34:54 +02:00
Juan Ferrer 8184838a8d refs #8025 #7892 defuser bug fix, disable apparmor 2024-10-01 16:01:16 +02:00
Juan Ferrer 1adc5db4df Merge branch 'main' of https://gitea.verdnatura.es/verdnatura/vn-ansible 2024-10-01 14:14:58 +02:00
Juan Ferrer 0a73bc63b3 refs #8025 #7892 roles debian-once & debian-host, sysctl, README, environment 2024-10-01 14:14:51 +02:00
David Lopez e50986db64 Actualizar roles/debian-qemu/tasks/hotplug.yml 2024-10-01 09:18:56 +00:00
Juan Ferrer 5bf05ebb29 refs #8025 inventory dns suffix and patterns, added ceph pve and kube playboks, small refactor 2024-09-30 08:07:30 +02:00
Juan Ferrer 1e565544fe refs #8025 Vault added, core hosts splitted, tasks parametized, auth enabled 2024-09-27 13:26:47 +02:00
Juan Ferrer bd9059f3c5 refs #8025 Production hosts updated, tags without brackets 2024-09-26 13:49:23 +02:00
Juan Ferrer 3f647cfd5c refs #8025 clean: tags added, added task to remove old bashrc config 2024-09-26 12:50:51 +02:00
Juan Ferrer 77616531ab refs #8025 Tags added, added clean playbook, sudoers moved to guest 2024-09-26 12:16:03 +02:00
Juan Ferrer dff36cc46f refs #8025 awx playbook, sudoers permission fix 2024-09-25 23:27:55 +02:00
Juan Ferrer fc7a5e6d7d refs #8025 Create awx user 2024-09-25 23:21:02 +02:00
Juan Ferrer 4845d08548 refs #8025 remove path quotes 2024-09-24 13:04:59 +02:00
Juan Ferrer c8b0d9fb1c refs #8025 send-mail made generic 2024-09-24 12:27:24 +02:00
Juan Ferrer f033c92278 refs #8025 Code reorganization 2024-09-24 10:37:09 +02:00
Juan Ferrer 29bfaf6b33 refs #8025 relayhost fixes, self vars moved to global 2024-09-24 10:25:40 +02:00
Juan Ferrer fffa279650 refs #8025 autofs task restored 2024-09-24 09:45:24 +02:00