Commit graph

2251 commits

Author SHA1 Message Date
Victor LABORIE 3601e802d6 evoadmin-web: fix typo in join filter 2020-04-01 17:17:00 +02:00
Victor LABORIE 47b263e411 lxc-php: fix php56-fpm handler name 2020-04-01 17:17:00 +02:00
Ludovic Poujol 9c420eec4f packweb-apache: Automagically bootstrap the multiphp containers
Introducing a new variable `packweb_multiphp_versions: []`.
While set empty, packweb-apache will setup a regular packweb.
When filled with PHP Versions, it will handle :
- LXC Container setup and config (as a dependencie of lxc-php role)
- Ensure evoadmin-web will set the rights versions in the config files
  by setting evoadmin_multiphp_versions

Exemple value :  `packweb_multiphp_versions: ['php70', 'php73']`
That will call lxc-php to create both PHP 7.0 and PHP 7.3 containers.
2020-04-01 17:17:00 +02:00
Ludovic Poujol 0f41638810 webapps/evoadmin-web: Replace evoadmin_multi_php (bool) by evoadmin_multiphp_versions (list) ** breaking **
Instead of having evoadmin_multi_php as a boolean, and outputing all 
versions possible PHP version in evoadmin, we now have 
evoadmin_multiphp_versions.

It's supposed to be a
2020-04-01 17:17:00 +02:00
Ludovic Poujol e6f2bbb331 lxc-php: An almost complete rewrite ** BREAKING **
This is a breaking change as lxc-php should now be called for *each* php 
containers we want, with the correct lxc_php_version variable.

Current valid values are : 
- php56
- php70
- php73

Other changes includes : 
- LXC Containers are created by calling lxc as a dependency of the role.
- Relying on lxc_container module to do commands into the container 
(instead of the command module)
- PHP 7.3 container is now a Debian Buster container
- All containers will have opensmtpd to relay emails to postfix on the 
host system.
2020-04-01 17:17:00 +02:00
Ludovic Poujol 8ef94a9798 lxc: Allow this role to be called multiple times 2020-04-01 17:17:00 +02:00
Ludovic Poujol 9b80db3772 lxc: Don't stop the container if it already exists 2020-04-01 17:17:00 +02:00
Patrick Marchand 04e1b96833 Fix the test_server() function in zzz_evobackup.default.sh.j2
All checks were successful
continuous-integration/drone/push Build is passing
The script was using the wrong ssh key to test the connection, thus reporting a failed connection even if the rest was okay.
2020-03-26 11:18:55 -04:00
Patrick Marchand d9517e8033 Update evobackup_client zzz_evobackup script
All checks were successful
continuous-integration/drone/push Build is passing
Use latest evobackup master and adds new evobackup_client__servers_fallback
variable.
2020-03-23 10:52:20 -04:00
Jérémy Lecour 5b5b8944c5 java: add Java 11 as possible version to install
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-21 19:07:26 +01:00
Jérémy Lecour 288416f149 elaticsearch: Java version is not forced to 8 anymore 2020-03-21 19:07:26 +01:00
Jérémy Lecour 4718138eca evomaintenance: install the embedded script by default 2020-03-21 19:07:26 +01:00
Jérémy Lecour 69c98bf562 [WIP] certbot: add support for install from sources on Debian 8 2020-03-21 19:07:26 +01:00
Patrick Marchand 9d7b4dd52d hotfix jail updated task in evobackup-client
All checks were successful
continuous-integration/drone/push Build is passing
Found out I wasnt using the right syntax for chaining commands, will fix later.
2020-03-19 15:51:32 -04:00
Jérémy Lecour 4ad785abaf evolinux-base: simplify sshd syntax validation
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-12 17:04:08 +01:00
Patrick Marchand a18076e878 Added handling of bkctld sync to evobackup-client
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-11 09:10:01 -04:00
Patrick Marchand d5731f90e0 Merge branch 'bind9_evocheck_fix' into unstable
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-10 13:48:52 -04:00
Eric Morino 6c4f696ec5 Set handler postgresql with systemctl daemon-reload
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-09 18:04:22 +01:00
Eric Morino 0bda633b0c Override Unit systemd with OMkill less 2020-03-09 18:04:22 +01:00
Jérémy Lecour ac98aa2d18 evolinux-base: install Evocheck (default: True)
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-09 17:02:23 +01:00
Jérémy Lecour 92dcbf1ab5 rbenv: change default Ruby version to 2.7.0 2020-03-09 17:02:23 +01:00
Jérémy Lecour ac6414076c nodejs: change default version to 12 (new LTS) 2020-03-09 17:02:23 +01:00
Eric Morino 61e007d22b Fix logrotate configuration 2020-03-09 14:40:10 +01:00
Jérémy Lecour 1e3ac40167 mysql: Munin must use the debian-sys-maint user
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-08 22:15:06 +01:00
Jérémy Lecour ddef475778 mysql: add a missing name to a task 2020-03-08 22:14:40 +01:00
Jérémy Lecour ec54af596c evolinux-base: Don't customize the logcheck recipient by default.
Some checks failed
continuous-integration/drone/push Build is failing
By default the package sends its messages to the logcheck user.
By default we alias the "logcheck" user to "root" which is redirected to 
our custom address.
2020-03-04 14:03:18 +01:00
Jérémy Lecour 783dcb9890 evomaintenance: upstream release 0.6.3
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 22:12:58 +01:00
Jérémy Lecour 099691614e redis: set_facts separately to reuse them
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 21:36:41 +01:00
Jérémy Lecour bc1a6f347a redis: add log2mail configuration for Redis if installed
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 21:19:50 +01:00
Jérémy Lecour e510c44a4a Merge remote-tracking branch 'origin/T47076' into unstable 2020-03-02 20:54:27 +01:00
Jérémy Lecour 68a1d4eb27 update changelog 2020-03-02 20:53:54 +01:00
Jérémy Lecour 37b8d1fbc4 fix syntax 2020-03-02 20:37:35 +01:00
Jérémy Lecour bb958b34b0 redis: quote some variables
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 20:34:20 +01:00
Jérémy Lecour af53a6b2ec evomaintenance: upstream release 0.6.2
Some checks failed
continuous-integration/drone/push Build is failing
2020-03-02 14:45:41 +01:00
Jérémy Lecour eb74bda22a nagios-nrpe: check_mode per cpu dynamically
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-28 12:14:20 +01:00
Eric Morino 3a20f5f501 Suppression du paquet zoo
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-27 15:00:32 +01:00
Jérémy Lecour 1b29f2d793 update listupgrade from upstream
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-27 13:41:04 +01:00
Jérémy Lecour d31dddc9aa evocheck: upstream verison 20.02.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-27 11:37:01 +01:00
Jérémy Lecour 65bc2c657d certbot: commit hook must be executed at the end
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-25 10:46:21 +01:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour ff7f8669ef evomaintenance: install PG dependencies only when needed 2020-02-25 10:43:23 +01:00
Tristan PILAT c06fe36796 Switch to Solr 8.4.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-25 10:15:56 +01:00
Ludovic Poujol 7a865b0ace
minifirewall: Properly detect alert5.sh to turn on firewall at boot
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-17 16:36:48 +01:00
Ludovic Poujol 704b76e6de
minifirewall: Properly detect alert5.sh to turn on firewall at boot
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-17 16:02:48 +01:00
Ludovic Poujol 02e8754d75
minifirewall: Backport changes from minifirewall (properly open outgoing smtp(s))
Some checks failed
continuous-integration/drone/push Build is failing
2020-02-17 10:56:38 +01:00
Patrick Marchand fefd10ae2a The GPG key for yarn changed
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-11 10:20:12 -05:00
Jérémy Lecour ca4c4adb59 certbot: commit all changes in /etc/.git
Some checks failed
continuous-integration/drone/push Build is failing
On some servers, certificates can be copied directly in final 
directories over SSH.
2020-02-11 12:06:40 +01:00
Jérémy Lecour f57af13349 minifirewall: better alert5 activation
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-10 10:36:00 +01:00
Jérémy Lecour 68b7a88e63 apt: added buster backports prerferences 2020-02-10 10:35:18 +01:00
Patrick Marchand 896b8bd7e4 Merge branch 'evobackup-client' into unstable
All checks were successful
continuous-integration/drone/push Build is passing
Import evobackup client code into mainline.
2020-02-06 16:29:02 -05:00