Ludovic Poujol
a9d0d0958d
packweb-apache : Support php 8.0
1 year ago
Jérémy Lecour
a5658b7f26
packweb-apache: install phpMyAdmin from buster-backports
2 years ago
Jérémy Lecour
0fe0244116
Update Galaxy metadata (company, platforms and galaxy_tags)
2 years ago
Ludovic Poujol
56c064d86b
Update 'packweb-apache/meta/main.yml'
...
Quick hot-fix : Add dependency for php 7.4 to packweb-apache
2 years ago
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
2 years ago
Jérémy Lecour
9f2125e287
packweb-apache: fix backports for phpmyadmin
2 years ago
Jérémy Lecour
e5e4dc95fa
packweb-apache: install phpMyAdmin from buster-backports
2 years ago
Jérémy Lecour
5138065059
Use 'loop' syntax instead of 'with_items'
2 years ago
Mathieu Trossevin
2e29dc2440
lxc-php: Do not bind the mysql socket by default
...
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.
2 years ago
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).
3 years ago
Ludovic Poujol
c7d456471b
packweb-apache: Install zip & unzip by default
3 years ago
Ludovic Poujol
09371b095f
packweb-apache: Don't turn on mod-evasive emails by default
3 years ago
Ludovic Poujol
6cf62aec11
(fix) packweb-apache : phpContainer can be run by anyone, set the chmod accordingly to 0755
3 years ago
Ludovic Poujol
4720329084
(fix) packweb-apache: Fix a regression introduced by bd63e7037f
3 years ago
Ludovic Poujol
bd63e7037f
packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role)
3 years ago
Ludovic Poujol
f442239cec
(fix) packweb-apache: Don't try to install PHPMyAdmin on Buster as it's not available
3 years ago
Ludovic Poujol
a680399608
packweb-apache: Add missing dependency to evoacme role
3 years ago
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.
3 years ago
Jérémy Lecour
7283e34077
Replace version_compare() with version()
3 years ago
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
3 years ago
Jérémy Lecour
e04d881988
replace "with_items" in apt modules
3 years ago
Jérémy Lecour
79bb6103b8
Change "|version_compare" with "is version_compare"
3 years ago
Victor LABORIE
0873bb49e0
Add evolix prefix to role dependencies
3 years ago
Victor LABORIE
6f5e13f8b8
Add evolix prefix to include_role
3 years ago
Jérémy Lecour
bea11352be
Merge branch 'buster' into unstable
4 years ago
Ludovic Poujol
b116c47b58
packweb-apache: Deploy opcache.php to give some insights on PHP's opcache status
4 years ago
Benoît S.
771c75c1de
all-roles: Dot not use ansible_lsb as it is deprecated
...
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
4 years ago
Benoît S.
0b8681cf59
packweb-apache: install phpmyadmin using .deb for Buster
...
Fixes #64
/!\ Warning: this is a temporary hack!
4 years ago
Jérémy Lecour
5199a384c3
packweb-apache : create phpmyadmin directory if missing
4 years ago
Jérémy Lecour
2b9354b549
re-enable phpmyadmin
4 years ago
Jérémy Lecour
b773e17560
whitespaces
4 years ago
Jérémy Lecour
bee57a0b3c
change distribution release codename
...
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
4 years ago
Jérémy Lecour
aa28e9c1b8
change repositories URL
4 years ago
Jérémy Lecour
1d2a648241
whitespaces
4 years ago
Jérémy Lecour
2f8cad3c7c
packweb-apache: mod-security config is already included elsewhere
4 years ago
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.
4 years ago
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.
4 years ago
Patrick Marchand
9f2727f55f
Removes modsecurity audit log and rules 910* and 901*
4 years ago
Jérémy Lecour
efcd2ed391
packweb-apache: don't regenerate phpMyAdmin suffix each time
5 years ago
Jérémy Lecour
5bf82d117b
Don't copy empty files
5 years ago
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.
5 years ago
Victor LABORIE
4612c5ec89
packweb-apache: use check_mode for apg command
...
* Fix usage of packweb-apache role with --check
5 years ago
Victor LABORIE
ef127d89dc
packweb-apache: use dependencies instead of include_role for apache and php roles
5 years ago
Jérémy Lecour
ace68db4b4
packweb-apache can use MySQL from Oracle.
5 years ago
Victor LABORIE
6d2506a0ce
packweb-apache: comment cron task instead of remove it and don't remove buildstatic.sh
5 years ago
Victor LABORIE
6f0fb57595
packweb-apache: fix awstats cron
5 years ago
Jérémy Lecour
dba77f3bbc
packweb-apache: dependency on squid and mysql
6 years ago
Gregory Colpart
31a8aa0a32
update tasks description.
6 years ago
Gregory Colpart
b64073dd39
quick fix to avoid exit 1
6 years ago
Gregory Colpart
04239e3350
use replace instead of lineinfile
6 years ago