Commit graph

423 commits

Author SHA1 Message Date
Jérémy Lecour 9a65312190
evolinux-base: disable logcheck monitoring of journald only if journald.logfiles exists 2024-04-18 15:10:01 +02:00
William Hirigoyen d1410e38a1 evolinux-base/logcheck: fix conf patch, journal check was not disabled when asked 2024-04-16 10:25:13 +02:00
Ludovic Poujol ae2e447bc4
evolinux-base: Add new variable to disable global customisation of bash config 2024-03-18 15:30:23 +01:00
Jérémy Lecour 56237bb3c6
evolinux-base: execute autosysadmin-agent and autosysadmin-restart_nrpe roles 2024-03-01 08:35:16 +01:00
Jérémy Lecour b2e22413bc
autosysadmin-agent: upstream release 24.02.3 2024-02-28 15:40:39 +01:00
William Hirigoyen 1f8738fbda postfix: move postfix installation from evolinux-base to postfix role, plus some refactoring
postfix:
* Move common packages installation in common.yml
* Replace ansible_fqdn by evolinux_fqdn, set postfix_slow_transport_include to false by default (only for packmails and packwebs)
* Remove dependency on evolinux_fqdn var
* Do not overwrite main.cf if it has been modified (except if postfix_force_main_cf)

evolinux-base:
* Move exim4 purge from evolinux-base to postfix role
* Call postfix role call after nagios role (dependency)
2024-02-01 18:00:48 +01:00
William Hirigoyen 9f530d78db evolinux-base: addd cert.sh, a small readonly openssl wrapper (testing, not deployed yet) 2024-02-01 18:00:38 +01:00
David Prevot d55b2b14bb evolinux-base: tfix 2024-01-29 09:44:57 +01:00
William Hirigoyen dae2a25f78 check_free_space: add role; evolinux-base: install check_free_space by default 2024-01-24 17:25:20 +01:00
Alexis Ben Miloud--Josselin 70c2d25837 evolinux-base: Check for syntax error in cron.log 2023-12-18 18:05:36 +01:00
Mathieu Trossevin 62c596046d
Add role for automatically deploying autosysadmin 2023-12-18 17:00:51 +01:00
William Hirigoyen 9e67db57e5 evolinux-base: fix hardware.yml (wrong repo, missing update cache) 2023-12-18 11:29:40 +01:00
David Prevot 4d9e1af40f evolinux-base: Don’t try to install unavailable linux-image-cloud-amd64 before Buster 2023-11-30 15:45:48 +01:00
Jérémy Lecour 9e3e20e3a8
evolinux-base: move htop/top config to different task file 2023-11-29 09:23:27 +01:00
Jérémy Lecour 4cba25d8fc
evolinux-base: no need to remove update-evobackup-canary from sbin anymore 2023-11-20 19:15:39 +01:00
Jérémy Lecour f01e7453fb
no need to symlink backup-server-state to dump-server-state anymore 2023-11-20 19:13:51 +01:00
Jérémy Lecour 83c178f244
log2mail: move custom config in separate file 2023-11-20 19:02:48 +01:00
Jérémy Lecour 642fbb1ea4
evolinux-base: dump-server-state upstream release 23.11 2023-11-20 19:02:03 +01:00
Jérémy Lecour c97e94bfe7
use ternary syntax for readability (subjective) 2023-11-10 17:17:39 +01:00
Brice Waegeneire 679e170dce evolinux-base: use separate default config file for rsyslog 2023-10-18 15:10:35 +02:00
Jérémy Lecour 3e55768c49
evolinux-base: replace value if present 2023-10-14 07:25:07 +02:00
Alexis Ben Miloud--Josselin bc3656dd4c evolinux-base: retirer tâche traitée 2023-10-11 12:07:05 +02:00
Alexis Ben Miloud--Josselin a80076a5ea evolinux-base: Corriger autorisation pour evolinux_user
Cas configuration SSH séparée. Ticket #74636.
2023-10-11 10:02:34 +02:00
Alexis Ben Miloud--Josselin 0c9b55e5e1 evolix-base/root: fix module used 2023-10-09 17:12:15 +02:00
David Prevot f2c37dddff Use timesyncd instead of ntpd starting with Debian 12 (not always) 2023-09-28 17:25:18 +02:00
David Prevot b722ca822f evolinux-base: remount /usr rw before writting on it 2023-09-28 15:27:20 +02:00
David Prevot ca67feb39e New timesyncd role used instead of ntpd by default 2023-09-28 15:27:19 +02:00
Brice Waegeneire 689ed21b38 evolinux-base: Add missing journald.conf 2023-09-13 11:36:02 +02:00
Jérémy Lecour b57a5c3b3c
evolinux-base: default value for evolinux_kernel_cloud_reboot (true) 2023-09-13 09:42:30 +02:00
William Hirigoyen 5b63ba112c Revert "evolinux-base: include postfix role, move exim4 purge from evolinux-base to postfix role"
This reverts commit a440110cad.
2023-08-31 17:47:49 +02:00
William Hirigoyen a440110cad evolinux-base: include postfix role, move exim4 purge from evolinux-base to postfix role 2023-08-31 17:30:34 +02:00
Alexis Ben Miloud--Josselin 73c0a0d29a evolinux-base: include files under sshd_config.d
In case we need to add the Include directive, we add it at the
beginning of the global configuration file. This way the Include
directive can't be inside a Match directive.
2023-08-31 17:09:43 +02:00
Brice Waegeneire 53aab6f405 evolinux-base: Add comments structure in logs 2023-08-23 15:48:45 +02:00
Brice Waegeneire fe369257ed evolinux-base: Limit journald to 1 day 2023-08-23 15:48:42 +02:00
Brice Waegeneire 0e1fe0e81f evolinux-base: Disable logcheck monitoring of journald 2023-08-23 15:05:10 +02:00
Ludovic Poujol 5cc7c13104 evolinux-base/tasks/kernel.yml > fix typo, 'is changed' vs '| changed' 2023-08-22 12:28:57 +02:00
Jérémy Lecour feba74c469
evolinux-base: reboot the server if the Cloud kernel has been installed 2023-08-18 12:10:01 +02:00
Alexis Ben Miloud--Josselin 536d051890 Fix mode for files under /etc/ssh/sshd_config.d 2023-08-16 18:21:06 +02:00
Alexis Ben Miloud--Josselin 7e15e01b14 Fix task name 2023-08-16 15:25:07 +02:00
Alexis Ben Miloud--Josselin 87711ef00c evolinux-base: PermitRootLogin depends on evolinux_root_disable_ssh 2023-08-16 15:25:07 +02:00
Alexis Ben Miloud--Josselin fc241f2835 evolinux-base: Add SSH configuration template 2023-08-16 15:25:07 +02:00
Alexis Ben Miloud--Josselin eca2b5e4bf fqcn 2023-08-16 15:25:07 +02:00
Alexis Ben Miloud--Josselin ec34d8afe1 Move PermitRootLogin to another file
Debian >= 12.
2023-08-16 15:25:07 +02:00
Ludovic Poujol f0abb53750 evolinux-base: New variable "evolinux_system_include_ntpd" to chose wether or not to include ntpd role 2023-08-04 11:47:42 +02:00
Jérémy Lecour 3ce412341f
dump-server-state: upstream release 23.08 2023-08-01 23:00:11 +02:00
David Prevot 4b4b34e849 Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
William Hirigoyen 67f0fa5942 evolinux-base: configure bashrc for all users 2023-07-17 17:18:55 +02:00
Jérémy Lecour 83f7b6cdca
evolinux: Install HPE Agentless Management Service (amsd) 2023-07-12 09:40:24 +02:00
Jérémy Lecour 00fe225a3c
force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
William Hirigoyen db0b5ab3db postfix: add missing localhost.$mydomain to mydestination 2023-05-02 14:21:39 +02:00