Commit Graph

22 Commits

Author SHA1 Message Date
David Prevot e5f5425f6d lxc-php: Allow one to install php83 on Bookworm container
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2647|9|2638|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/407//ansiblelint">Evolix » ansible-roles » unstable #407</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
2023-11-28 17:15:44 +01:00
David Prevot cb03831ae8 lxc-php: Fix lxc_php_container_name
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2642|5|2637|3|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/404//ansiblelint">Evolix » ansible-roles » unstable #404</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
2023-11-23 13:40:03 +01:00
Brice Waegeneire 736ed26036 lxc-php: Add variable 'lxc_php_container_name' 2023-11-21 16:13:07 +01:00
David Prevot 331f4e8875 Revert "php83: preliminary work"
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2628|4|2624|6|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/380//ansiblelint">Evolix » ansible-roles » unstable #380</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
This reverts commit 1259b88588.
2023-10-27 14:33:12 +02:00
David Prevot 1259b88588 php83: preliminary work 2023-10-26 15:13:06 +02:00
Eric Morino 090495e920 Fix rôle lxc-php for php82 in bookworm container
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2626|6|2620|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/lxc-php82/1//ansiblelint">Evolix » ansible-roles » lxc-php82 #1</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
2023-08-29 15:07:35 +02:00
Eric Morino 8c72a7de8e New container lcx php82 in bookworm
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2626|0|2626|0|:zzz: Details
gitea/ansible-roles/pipeline/head This commit looks good Details
2023-08-24 15:23:32 +02:00
Brice Waegeneire e8c7d2c3e3 lxc-php: add support for PHP 8.2 container
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2792|10|2782|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/239//ansiblelint">Evolix » ansible-roles » unstable #239</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
2023-04-20 11:27:56 +02:00
Jérémy Lecour f8f5bec8b5 lxc-php: prepare php82 2023-03-20 15:43:35 +01:00
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
William Hirigoyen (Evolix) 2692ac5661 Ajoute l'umask 0007 au service php-fpm 2022-10-26 09:56:33 +02:00
Jérémy Lecour 799466788f lxc-php: preliminary support for PHP 8.1 container
continuous-integration/drone/push Build was killed Details
2022-02-17 14:50:21 +01:00
Brice Waegeneire 616ead41d5 lxc-php: Add php 8.0 support 2021-10-05 14:38:40 +02:00
Jérémy Lecour 2f68ae5339 Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
Ludovic Poujol f2ebe2d878 lxc-php: Add php 7.4 support
continuous-integration/drone/push Build is passing Details
2021-03-31 10:57:29 +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 d7aed91043
packweb-multiphp: Change default configuration for compatibility
continuous-integration/drone/pr Build is failing Details
/var/run is now /run (and it is what is used in the .service file)

Have a default directory configured as bind target so things works by default
2020-10-19 17:33:58 +02:00
Mathieu Trossevin 49b20f9b12 lxc-php: Have mysqld.sock inside of a directory
Bind mount don't seems to work on a file so the default socket is now
always named mysqld.sock and the configurable variable is
php_conf_mysql_socket_dir that define the directory the socket will be
in.
2020-06-17 16:06:54 +02:00
Mathieu Trossevin 1d9ab0f1f3 Allows using localhost to connect to MySQL in lxc
Add 'php_conf_mysql_default_socket' variable to lxc-php role that
configure both the lxc containers and PHP so that a local MySQL database
may be used through localhost.

The PHP containers will automount /var/run/mysqld/mysqld.sock (the
default path to the mysql socket) to the path defined by the variable
'php_conf_mysql_default_socket' which will be the path used by php to
contact MySQL both with mysqli and PDO_MYSQL.
2020-06-17 16:06:53 +02:00
Ludovic Poujol 90704dc712 lxc-php: Don't disable putenv() by default in PHP settings 2020-06-04 11:51:25 +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
Tristan PILAT 317aac735f Add lxc-php role - Install 3 containers with all required PHP packages 2019-06-17 12:17:46 +02:00