php: Add a task to remove Debian's default FPM pool file (off by default)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details

Can be triggered by switching php_fpm_remove_default_pool to True.
pull/95/head
Ludovic Poujol 3 years ago
parent ef5ed6911e
commit 31df2d2fbc
Signed by: lpoujol
GPG Key ID: 6F563E6A4DD5DCEF

@ -56,6 +56,7 @@ The **patch** part changes incrementally at each release.
* php: Don't set a chroot for the default fpm pool
* php: Make sure the default pool we define can be fully functionnal witout debian's default pool file
* php: Change the default pool names to something more explicit (and same for the variables names)
* php: Add a task to remove Debian's default FPM pool file (off by default)
* rbenv: install Ruby 2.6.5 by default
* squid: Remove wait time when we turn off squid
* squid: compatibility wit Debian 10

@ -6,3 +6,5 @@ php_apache_enable: False
php_symfony_requirements: False
php_modules_mysqlnd: False
php_fpm_remove_default_pool: False

@ -80,3 +80,10 @@
- { option: "date.timezone", value: "Europe/Paris" }
notify: "restart {{ php_fpm_service_name }}"
when: php_symfony_requirements
- name: Delete debian default pool
file:
path: "{{ php_fpm_debian_default_pool_file }}"
state: absent
notify: "restart {{ php_fpm_service_name }}"
when: php_fpm_remove_default_pool

@ -8,6 +8,7 @@
php_apache_custom_ini_file: /etc/php/7.3/apache2/conf.d/zzz-evolinux-custom.ini
php_fpm_defaults_ini_file: /etc/php/7.3/fpm/conf.d/z-evolinux-defaults.ini
php_fpm_custom_ini_file: /etc/php/7.3/fpm/conf.d/zzz-evolinux-custom.ini
php_fpm_debian_default_pool_file: /etc/php/7.3/fpm/pool.d/www.conf
php_fpm_default_pool_file: /etc/php/7.3/fpm/pool.d/www-evolinux-defaults.conf
php_fpm_default_pool_custom_file: /etc/php/7.3/fpm/pool.d/www-evolinux-zcustom.conf
php_fpm_default_pool_socket: /var/run/php/php7.3-fpm.sock

@ -8,6 +8,7 @@
php_apache_custom_ini_file: /etc/php5/apache2/conf.d/zzz-evolinux-custom.ini
php_fpm_defaults_ini_file: /etc/php5/fpm/conf.d/z-evolinux-defaults.ini
php_fpm_custom_ini_file: /etc/php5/fpm/conf.d/zzz-evolinux-custom.ini
php_fpm_debian_default_pool_file: /etc/php5/fpm/pool.d/www.conf
php_fpm_default_pool_file: /etc/php5/fpm/pool.d/www-evolinux-defaults.conf
php_fpm_default_pool_custom_file: /etc/php5/fpm/pool.d/www-evolinux-zcustom.conf
php_fpm_default_pool_socket: /var/run/php/php5-fpm.sock

@ -8,6 +8,7 @@
php_apache_custom_ini_file: /etc/php/7.0/apache2/conf.d/zzz-evolinux-custom.ini
php_fpm_defaults_ini_file: /etc/php/7.0/fpm/conf.d/z-evolinux-defaults.ini
php_fpm_custom_ini_file: /etc/php/7.0/fpm/conf.d/zzz-evolinux-custom.ini
php_fpm_debian_default_pool_file: /etc/php/7.0/fpm/pool.d/www.conf
php_fpm_default_pool_file: /etc/php/7.0/fpm/pool.d/www-evolinux-defaults.conf
php_fpm_default_pool_custom_file: /etc/php/7.0/fpm/pool.d/www-evolinux-zcustom.conf
php_fpm_default_pool_socket: /var/run/php/php7.0-fpm.sock

Loading…
Cancel
Save