Ludovic Poujol
e71cffd8fd
php: add new variable to disable oveeriding settings of php-fpm default pool (www)
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2624|6|2618|10|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/329//ansiblelint">Evolix » ansible-roles » unstable #329</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-08-28 17:08:33 +02:00
Jérémy Lecour
00fe225a3c
force: [yes,no] → force [true,false]
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2615|7|2608|177|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-06-28 13:25:30 +02:00
Jérémy Lecour
ee21973371
Use FQCN
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
gitea/ansible-roles/pipeline/head This commit looks good
Fully Qualified Collection Name
2023-03-20 23:33:19 +01: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
5138065059
Use 'loop' syntax instead of 'with_items'
2021-05-04 14:19:18 +02:00
Ludovic Poujol
0dfb92360f
php: Don't disable putenv() by default in PHP settings
continuous-integration/drone/push Build is passing
2020-06-04 11:52:04 +02:00
Jérémy Lecour
7283e34077
Replace version_compare() with version()
2020-02-25 10:45:35 +01:00
Ludovic Poujol
31df2d2fbc
php: Add a task to remove Debian's default FPM pool file (off by default)
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Can be triggered by switching php_fpm_remove_default_pool to True.
2020-01-16 15:55:35 +01:00
Ludovic Poujol
ef5ed6911e
php: Change the default pool names to something more explicit (and same for the variables names)
...
Because it's more than just pure configuration, but a fpm pool
definition, I've changed the following variables in Ansible :
- php_fpm_defaults_conf_file to replaced by php_fpm_default_pool_file
- php_fpm_custom_conf_file to php_fpm_default_pool_custom_file.
On the FPM side, I've also changed the files names of the pool to make
them more explicit. No more z and zzz. It's the www pool, so let's put
www in the file name for coherence :
- z-evolinux-defaults.conf changes to www-evolinux-defaults.conf
- zzz-evolinux-custom.conf changes to www-evolinux-zcustom.conf
2020-01-16 15:55:25 +01:00
Ludovic Poujol
c9d3635cf8
php: Make sure the default pool we define can be fully functionnal witout debian's default pool file
2020-01-16 15:55:17 +01:00
Jérémy Lecour
79bb6103b8
Change "|version_compare" with "is version_compare"
2019-12-31 10:18:19 +01:00
Ludovic Poujol
2d2889ac16
php: Don't set a chroot for the default fpm pool
continuous-integration/drone/push Build is passing
2019-10-16 15:59:33 +02:00
Ludovic Poujol
e2fd56bdcd
php: By default, allow 128M for OpCache (instead of 64M)
continuous-integration/drone/push Build encountered an error
2019-08-21 15:56:35 +02:00
Ludovic Poujol
20a4c082d7
php: Stop enforcing /var/www/html as chroot while we use /var/www.....
2019-06-06 13:45:53 +02:00
Tristan PILAT
469d9e6984
Fix bug when installing php-fpm. Absolute path is required.
...
ERROR: Unable to create or open slowlog(/usr/log/www.log.slow): No such file or directory (2)
2018-06-18 10:21:22 +02:00
Jérémy Lecour
767ce95b5c
php: variable service name for jessie and stretch
2018-06-13 09:37:55 +02:00
Jérémy Lecour
17d0c9c6bf
php: clarify configuration
...
* Variables for config file names are normalized* With Sury, Evolix configs are linked to regular 7.0 paths
2018-06-11 17:35:20 +02:00