Commit Graph

74 Commits

Author SHA1 Message Date
Ludovic Poujol a9d0d0958d packweb-apache : Support php 8.0 2021-10-18 18:30:47 +02:00
Jérémy Lecour a5658b7f26 packweb-apache: install phpMyAdmin from buster-backports 2021-07-02 21:18:06 +02:00
Jérémy Lecour 0fe0244116 Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
Ludovic Poujol 56c064d86b Update 'packweb-apache/meta/main.yml'
continuous-integration/drone/push Build is passing Details
Quick hot-fix : Add dependency for php 7.4 to packweb-apache
2021-05-19 16:33:51 +02:00
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour 9f2125e287 packweb-apache: fix backports for phpmyadmin
continuous-integration/drone/push Build is passing Details
2021-05-04 16:43:48 +02:00
Jérémy Lecour e5e4dc95fa packweb-apache: install phpMyAdmin from buster-backports 2021-05-04 14:57:18 +02:00
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Mathieu Trossevin 2e29dc2440 lxc-php: Do not bind the mysql socket by default
continuous-integration/drone/pr Build is failing Details
The lxc-php role can be run on a server without mysql. Attempting to
bindmount the mysql socket in such a case cause the lxc container to
fail to start.

This commit add a variable, lxc_php_create_mysql_link defaulting to
false telling ansible if it should bindmount the MySQL socket to the
container.
2021-01-11 15:20:25 +01:00
Mathieu Trossevin 5e13f8da4e lxc-php: Make mysql socket binding work on fresh install
/var/run/mysqld only exist after mysql is installed, as such the role
lxc-php need to run after the role mysql.

Also only cause a restart of the containers when their configuration has
been changed.

For now socket binding might only work for mysql and not mysql-oracle
(it's default socket seems to be /tmp/mysql.sock).
2020-06-17 16:06:54 +02:00
Ludovic Poujol c7d456471b packweb-apache: Install zip & unzip by default 2020-06-04 11:34:26 +02:00
Ludovic Poujol 09371b095f packweb-apache: Don't turn on mod-evasive emails by default
continuous-integration/drone/push Build is passing Details
2020-05-18 12:03:34 +02:00
Ludovic Poujol 6cf62aec11 (fix) packweb-apache : phpContainer can be run by anyone, set the chmod accordingly to 0755
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2020-04-08 18:12:50 +02:00
Ludovic Poujol 4720329084 (fix) packweb-apache: Fix a regression introduced by bd63e7037f
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2020-04-08 18:10:54 +02:00
Ludovic Poujol bd63e7037f packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2020-04-08 17:54:43 +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 a680399608 packweb-apache: Add missing dependency to evoacme role 2020-04-01 17:23:39 +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
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +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 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
Victor LABORIE 0873bb49e0 Add evolix prefix to role dependencies
continuous-integration/drone/push Build is passing Details
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
Jérémy Lecour bea11352be Merge branch 'buster' into unstable 2019-09-23 18:34:35 +02:00
Ludovic Poujol b116c47b58 packweb-apache: Deploy opcache.php to give some insights on PHP's opcache status
continuous-integration/drone/push Build encountered an error Details
2019-08-21 15:24:58 +02:00
Benoît S. 771c75c1de all-roles: Dot not use ansible_lsb as it is deprecated
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Benoît S. 0b8681cf59 packweb-apache: install phpmyadmin using .deb for Buster
Fixes #64
/!\ Warning: this is a temporary hack!
2019-07-03 09:37:57 +02:00
Jérémy Lecour 5199a384c3 packweb-apache : create phpmyadmin directory if missing 2019-06-27 16:33:11 +02:00
Jérémy Lecour 2b9354b549 re-enable phpmyadmin
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2019-06-27 16:19:17 +02:00
Jérémy Lecour b773e17560 whitespaces
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
2019-06-27 16:16:19 +02:00
Jérémy Lecour bee57a0b3c change distribution release codename
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is failing Details
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
2019-06-18 17:35:28 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Jérémy Lecour 1d2a648241 whitespaces 2019-01-01 20:04:56 +01:00
Jérémy Lecour 2f8cad3c7c packweb-apache: mod-security config is already included elsewhere 2018-11-14 17:04:03 +01:00
Patrick Marchand 3eadd7d544 Rajout d'un cron a packweb pour ftpd
The cronjob that maintains file size caches for ftpadmin
is not present in the packweb, which leads to things like
spinon-www0 listing all directories as being 0 octets big.
2018-11-13 16:58:29 -05:00
Patrick Marchand a1973ebbb3 We misunsderstood how modsecurity used the init rules
They do not modify files and are necessary for the core rules to function.
2018-11-13 09:59:34 -05:00
Patrick Marchand 9f2727f55f Removes modsecurity audit log and rules 910* and 901* 2018-11-13 09:59:34 -05:00
Jérémy Lecour efcd2ed391 packweb-apache: don't regenerate phpMyAdmin suffix each time 2018-09-09 23:00:41 +02:00
Jérémy Lecour 5bf82d117b Don't copy empty files 2018-04-22 17:23:31 +02:00
Jérémy Lecour 792e319694 packweb-apache: install evoadmin as a dependency
A bug in Ansible 2.2 disables some included roles when dependencies have
a conditional evaluated to false.
2018-04-20 10:23:35 +02:00
Victor LABORIE 4612c5ec89 packweb-apache: use check_mode for apg command
* Fix usage of packweb-apache role with --check
2018-04-13 12:13:43 +02:00
Victor LABORIE ef127d89dc packweb-apache: use dependencies instead of include_role for apache and php roles 2018-04-13 11:54:42 +02:00
Jérémy Lecour ace68db4b4 packweb-apache can use MySQL from Oracle. 2018-02-28 17:25:47 +01:00
Victor LABORIE 6d2506a0ce packweb-apache: comment cron task instead of remove it and don't remove buildstatic.sh 2017-11-06 11:51:57 +01:00
Victor LABORIE 6f0fb57595 packweb-apache: fix awstats cron 2017-11-06 11:29:15 +01:00
Jérémy Lecour dba77f3bbc packweb-apache: dependency on squid and mysql 2017-10-07 18:12:28 +02:00
Gregory Colpart 31a8aa0a32 update tasks description. 2017-10-02 15:33:10 +02:00
Gregory Colpart b64073dd39 quick fix to avoid exit 1 2017-09-28 11:10:25 +02:00
Gregory Colpart 04239e3350 use replace instead of lineinfile 2017-09-08 01:26:53 +02:00