remove version from php pool name

This commit is contained in:
2024-02-13 14:28:40 +01:00
parent a450453093
commit 5277c6a2da
4 changed files with 6 additions and 6 deletions

View File

@@ -13,8 +13,8 @@ None
Role Variables
--------------
php_poolname: default www (version will be appended)
php_version: default 81
php_poolname: default www_{{ php_version }}
php_version: default 82
php_fpm_pool_user: default apache
php_fpm_pool_group: default apache
php_fpm_listen_url: default 127.0.0.1:90{{ php_version }}

View File

@@ -1,7 +1,7 @@
---
# defaults file for php-fpm
php_poolname: www
php_version: 81
php_version: 82
php_poolname: "www_{{ php_version }}"
php_fpm_pool_user: apache
php_fpm_pool_group: apache
php_fpm_listen_url: 127.0.0.1:90{{ php_version }}

View File

@@ -39,7 +39,7 @@
- name: configure php-fpm pool 2
template:
src: www.conf
dest: /etc/opt/remi/php{{ php_version }}/php-fpm.d/{{ php_poolname }}_{{ php_version }}.conf
dest: /etc/opt/remi/php{{ php_version }}/php-fpm.d/{{ php_poolname }}.conf
notify: restart php-fpm
- name: start and enable service

View File

@@ -1,4 +1,4 @@
[{{ php_poolname}}_{{ php_version }}]
[{{ php_poolname }}]
user = {{ php_fpm_pool_user }}
group = {{ php_fpm_pool_group }}
listen = {{ php_fpm_listen_url }}