Commit graph

2281 commits

Author SHA1 Message Date
Patrick Marchand 556b6a6f89 added litteral blocks to zzz_evobackup template
All checks were successful
continuous-integration/drone/push Build is passing
This makes sure that nothing inside the script is parsed by jinja
unless we want it.
2020-04-20 11:27:51 -04:00
Patrick Marchand 6906c41818 Merge branch 'unstable' of gitea.evolix.org:evolix/ansible-roles into unstable 2020-04-20 11:27:41 -04:00
Jérémy Lecour f3111b42e5 cerbot: add mod_jk and mod_proxy directives for the Apache challenge
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-20 10:49:50 +02:00
Ludovic Poujol b1b0072377 Merge pull request 'Enhancing our multiphp-setup' (#97) from lpoujol/better-multiphp into unstable
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-17 16:42:11 +02:00
Jérémy Lecour 7a3e6cf61a lxc: install apparmor on Debian 10
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-17 15:57:22 +02:00
Jérémy Lecour 968973d1f4 whitespaces and syntax 2020-04-17 15:56:54 +02:00
Jérémy Lecour d013a65cf6 Merge branch 'unstable' into lpoujol/better-multiphp
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-17 12:23:56 +02:00
Jérémy Lecour 7a9624fcc2 evoacme: remove shellcheck warnings
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-16 09:44:25 +02:00
Patrick Marchand 05c3629564 Merge branch 'unstable' of gitea.evolix.org:evolix/ansible-roles into unstable 2020-04-15 14:21:49 -04:00
Jérémy Lecour 6764418e75 evocheck: upstream release 20.04.2
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-15 18:01:55 +02:00
Jérémy Lecour 155c6a5a88 explicit "force: no" for consistency 2020-04-15 10:04:13 +02:00
Jérémy Lecour 257a3476f1 evocheck: upstream release 20.04.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-12 22:30:07 +02:00
Jérémy Lecour e2f5094835 trailing space 2020-04-11 12:31:41 +02:00
Jérémy Lecour f2613e91aa evolinux-base: configure cciss-vol-statusd in the proper file
All checks were successful
continuous-integration/drone/push Build is passing
The default file should be used for configuration instead of the init 
script.
2020-04-10 11:36:03 +02:00
Ludovic Poujol 6cf62aec11 (fix) packweb-apache : phpContainer can be run by anyone, set the chmod accordingly to 0755
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-08 18:12:50 +02:00
Ludovic Poujol 4720329084 (fix) packweb-apache: Fix a regression introduced by bd63e7037f
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-08 18:10:54 +02:00
Ludovic Poujol bd201e8791 (change) lxc-php: refactor tasks for better maintainability (again)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-08 17:58:42 +02:00
Ludovic Poujol 93c043c8e0 (fix) lxc: Fix container existance check to be able to run in check_mode 2020-04-08 17:57:46 +02:00
Ludovic Poujol bd63e7037f packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-08 17:54:43 +02:00
Jérémy Lecour 35549d2dea certbot: execute manual install for sources mode
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-03 10:13:02 +02:00
Jérémy Lecour 71a9ac8424 mongodb: mention Buster support in README
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-03 10:12:20 +02:00
Ludovic Poujol f135f67cd0
(change) php: Cleanup CLI Settings. Also, allow url fopen and don't disable functions (in CLI only)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #98
2020-04-01 18:22:46 +02:00
Ludovic Poujol 2a1d355192 (fix) php: Correct tasks names in config_cli as they are for all versions, not only jessie
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Ludovic Poujol <lpoujol@evolix.fr>
2020-04-01 18:15:38 +02:00
Ludovic Poujol 7fc260a17b (fix) php: update surry_post.yml to match current latest PHP release
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-01 18:08:57 +02:00
Ludovic Poujol f442239cec (fix) packweb-apache: Don't try to install PHPMyAdmin on Buster as it's not available 2020-04-01 18:05:20 +02:00
Ludovic Poujol 135a089341 (change) lxc-php: Use OpenSMTPD for Stretch/Buster containers, and ssmtp for Jessie containers
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2020-04-01 17:23:39 +02:00
Ludovic Poujol a21fcaf663 (fix) php: Chose the debian version repo archive for packages.sury.org 2020-04-01 17:23:39 +02:00
Ludovic Poujol a680399608 packweb-apache: Add missing dependency to evoacme role 2020-04-01 17:23:39 +02:00
Ludovic Poujol 8bc4ff4ada lxc-php & webapps/evoadmin-web: Commit missing fixes 2020-04-01 17:17:00 +02:00
Victor LABORIE 84ec361270 evoadmin-web: fix missing bracket in web-add.conf template 2020-04-01 17:17:00 +02:00
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