Skip to content
Snippets Groups Projects
Commit 52d2f846 authored by Lars Beckers's avatar Lars Beckers
Browse files

php-fpm: remove standard pool, add admin flags

parent 1be84914
No related branches found
No related tags found
No related merge requests found
---
# file: php-fpm/defaults/mail.yml
fpm_pool: www
fpm_user: www-data
fpm_group: www-data
fpm_socket_user: www-data
fpm_socket_group: www-data
fpm_pools: []
......@@ -23,20 +23,6 @@
- php-fpm
- webservices
- name: ensure we have the pool we want
template:
src: pool.conf.j2
dest: "/etc/php/7.0/fpm/pool.d/{{ fpm_pool }}.conf"
owner: root
group: root
mode: '0644'
when: debian_version == "stretch"
notify:
- restart php-fpm
tags:
- php-fpm
- webservices
- name: ensure we have all the pools we want
template:
src: pool.conf.j2
......
......@@ -17,6 +17,12 @@ pm.max_requests = 500
{% if item.params is defined and item.params %}
{% for key, value in item.params.items() %}
php_value[{{key}}] = {{value}};
php_admin_value[{{key}}] = {{value}};
{% endfor %}
{% endif %}
{% if item.flags is defined and item.flags %}
{% for key, value in item.flags.items() %}
php_admin_flag[{{key}}] = {{'on' if value else 'off'}};
{% endfor %}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment