update php-fpm config according to nextcloud docs
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
mode: "0644"
|
||||
loop: "{{ php_fpm_ini_options }}"
|
||||
when: '"fpm" in php_modules'
|
||||
notify: Restart php-fpm
|
||||
@@ -14,7 +15,7 @@
|
||||
- name: Configure FPM pool
|
||||
lineinfile:
|
||||
path: /etc/php/{{ php_version }}/fpm/pool.d/www.conf
|
||||
regexp: '^{{ item.option }}\s'
|
||||
regexp: '^;?{{ item.option }} = .*'
|
||||
line: '{{ item.option }} = {{ item.value }}'
|
||||
loop: "{{ php_fpm_pool_options }}"
|
||||
when: '"fpm" in php_modules'
|
||||
|
||||
Reference in New Issue
Block a user