Commit graph

2024 commits

Author SHA1 Message Date
Alexis Ben Miloud--Josselin 3ba846cc38 redis: change log path
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 17:24:27 +01:00
Alexis Ben Miloud--Josselin 97719d28f2 redis: add log2mail
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 17:23:05 +01:00
Jérémy Lecour e7952dc3c8 etc-git: fix warnings ansible-lint
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 17:19:36 +01:00
Jérémy Lecour bf7de332ea minifirewall: fix warnings ansible-lint 2020-01-08 17:19:13 +01:00
Jérémy Lecour f79b30eeb4 update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-03 16:40:53 +01:00
Jérémy Lecour 6801f4e00e Add names to many blocks 2019-12-31 16:56:03 +01:00
Jérémy Lecour 3b258cc43e tomcat: package version derived from Debian version if missing 2019-12-31 16:43:51 +01:00
Jérémy Lecour b8bdedaa2e packweb-apache: update phpmyadmin package for Debian 10+
phpmyadmin_4.6.6-5_all.deb is no longer available, let's use 4.6.6-4
2019-12-31 16:27:05 +01:00
Jérémy Lecour 27e217467e Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
Jérémy Lecour eded11f88f Change "|search" with "is search" 2019-12-31 16:18:56 +01:00
Jérémy Lecour e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Jérémy Lecour 5b847ec91c whitespace
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-31 09:54:59 +01:00
Eric Morino 270e42ac77 Remove hooks directories if debian 10 and superior
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-30 17:32:08 +01:00
Eric Morino be2ea39158 Add buster for RabbitMQ 2019-12-30 17:27:39 +01:00
Eric Morino 1bf271a4f4 Add install PostGIS in postgresql rôle
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-26 16:16:05 +01:00
Patrick Marchand 20191c8873 Fixed regression introduced by commit 276177900b
All checks were successful
continuous-integration/drone/push Build is passing
The default behavior for ansible template is to overwrite the
targeted file.  Since we dont always want to overwrite a file when
we play this role, we set `force` to `False` by default. This means
that if the `dest` already exists, ansible will not overwrite it
with it's given template.

This is fine for most of the tasks in this role, but in the case
of `{{ evoadmin_scripts_dir }}/web-mail.tpl`,the file is created
by a task that runs prior to the template task, so setting it to
`False` by default means it never gets updated and clients dont get
notified when they create new websites.
2019-12-24 14:10:24 -05:00
Patrick Marchand 0b4095d8dd bkctld restart works better than bkctld start
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
a simple start will fail if the jail is already started, there is potential for a race condition.
2019-12-19 10:30:58 -05:00
Victor LABORIE 2a1e0b7ef6 evolinux-base: install ssacli for HP Smart Array
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-13 11:00:20 +01:00
Jérémy Lecour ce45a39b8b redis: manage runtime directories manually on Jessie
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-13 10:44:44 +01:00
Jérémy Lecour 607ee119ec redis: sudo nopasswd for nagios check 2019-12-13 10:44:44 +01:00
Jérémy Lecour e557a3eaae apache: improve permissions in save_apache_status script 2019-12-13 10:44:44 +01:00
Eric Morino 8b6c1341f9 Fix logrotate configuration
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-10 14:29:57 +01:00
Victor LABORIE 1b74db194a Add missing evolix prefix to role dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-03 14:32:34 +01:00
Victor LABORIE 0873bb49e0 Add evolix prefix to role dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-29 14:19:52 +01:00
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
Ludovic Poujol 6e918d166e
evolinux-base: Don't make alert5.service executable
All checks were successful
continuous-integration/drone/push Build is passing
Every 3 mins, systemd complain that the service file is marked as
executable, and asks the executable bit to be remove.

Nov 27 01:35:11 foo systemd[1]: Configuration file /etc/systemd/system/alert5.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2019-11-28 10:59:29 +01:00
Ludovic Poujol 0e58f34e18
certbot: Properly evaluate when apache is installed
Some checks failed
continuous-integration/drone/push Build is failing
Checking the existence of /etc/apache2 is not enough as a condition to
validate the presence of apache.

Indeed, some packages (including certbot!!!), put some files in
/etc/apache2/conf-available even if apache isn't installed.

In those cases, the check is not correct, and we'll enter in the apache
block, and fail when we try to enable the configuration.

With this commit, we now validate the presence apache with the presence
of /usr/sbin/apachectl
2019-11-26 11:58:52 +01:00
Ludovic Poujol dc1c78e08a evolinux-base: Fix our zsyslog rotate config that doesn't work on Debian 10
All checks were successful
continuous-integration/drone/push Build is passing
I've noticed that some log files, especially /var/log/syslog were empty.
After investigating, I've realized that it was happening after a log
rotation by logrotate.

The old mechanism, `invoke-rc.d rsyslog rotate` isn't working anymore on
Debian 10. It will fail with a not so explicit message :

[FAIL] Closing open files: rsyslogd failed!

Long story short, it seems that the pid file (`/run/rsyslogd.pid`) isn't
created any more, so start-stop-daemon as used by /etc/init.d/rsyslog
will fail. Explaining the error message.

Debian 10 rsyslog now brings `/usr/lib/rsyslog/rsyslog-rotate` that is
used by logrotate. It will send the signal HUP the 'right' way, so
rsyslog will be aware of the log rotation.

Sadly, this script isn't present in Debian 9 nor 8, so the logrotate
configuration for rsyslog is now a template, using the right command for
the right version.
2019-11-22 16:48:19 +01:00
Jérémy Lecour 473bcb4cd6 apt: verify that /etc/evolinux is present
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-20 11:34:47 +01:00
Eric Morino e20d95786a Change config file name conf.d/evolinux.conf by conf.d/zz-evolinux.conf
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-18 09:31:24 +01:00
Eric Morino d10441fb0b Replace ptop by pgtop for buster
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-14 16:10:23 +01:00
Eric Morino 9d5a272472 Add set and reconfigure locales for postgresql
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-14 15:56:41 +01:00
Eric Morino c15f8963e4 Add compatibility for debian 9 and debian 10 in HW tool and megacli package
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-14 14:29:04 +01:00
Eric Morino eb81c69327 Add modification for buster and postgresql 11 requirements
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-14 11:39:02 +01:00
Jérémy Lecour 26dd244ae0 nagios-nrpe: update check_redis_instances
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-13 09:47:23 +01:00
Ludovic Poujol 174bfa5ba0 Fix a syntax error in a task name (a missplaced double quote)
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-12 17:59:36 +01:00
Eric Morino dc162ec67f Add check_mysql_health
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-08 13:47:34 +01:00
Jérémy Lecour 7f6ad406a5 evocheck: upstream version 19.11.2
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-07 10:38:32 +01:00
Jérémy Lecour 767760cbe0 evocheck: upstream version 19.11.1
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-06 07:50:45 +01:00
Jérémy Lecour 049d36ab8f etc-git: add versioning for /usr/share/scripts on Debian 10+
All checks were successful
continuous-integration/drone/push Build is passing
The repository.yml task file is generic and can be called for vrious 
repositories.
On Debian 10, /usr/share/scripts is versioned
2019-11-05 17:00:22 +01:00
Jérémy Lecour 6b77372f24 evocheck: upstream version 19.11
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-05 16:20:07 +01:00
Jérémy Lecour a55e29186f evomaintenance: upstream version 0.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-05 14:52:59 +01:00
Jérémy Lecour ab8c6b13b8 evoacme: upstream version 19.11
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-05 14:08:02 +01:00
Jérémy Lecour 7e50a460a8 minifirewall: add a variable to force the check scripts update
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-05 10:52:14 +01:00
Jérémy Lecour 1c0e3af490 squid: add "checkmode: no" on a read-only task 2019-11-05 10:51:09 +01:00
Jérémy Lecour 5476538eb1 minifirewall: no http filtering by default
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-30 14:37:22 +01:00
Jérémy Lecour f2dacac139 evolinux-base: add /usr/share/scripts in root's PATH (Debian 10+) 2019-10-30 14:32:32 +01:00
Jérémy Lecour 8679da4cb6 evolinux-base: install /sbin/deny 2019-10-30 14:32:32 +01:00
Jérémy Lecour 78ea4a61e1 typo 2019-10-30 14:32:32 +01:00