fix linter
This commit is contained in:
parent
13d7194e4f
commit
630a536c7f
3 changed files with 41 additions and 34 deletions
|
|
@ -35,6 +35,9 @@
|
|||
copy:
|
||||
src: php-fpm/snippet-php
|
||||
dest: /etc/nginx/snippets/php
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- reload nginx
|
||||
|
||||
|
|
@ -42,6 +45,9 @@
|
|||
template:
|
||||
src: php-fpm/upstream-php.conf.j2
|
||||
dest: /etc/nginx/conf.d/php.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- reload nginx
|
||||
|
||||
|
|
@ -49,22 +55,22 @@
|
|||
template:
|
||||
dest: "/etc/php/{{ php_version }}/fpm/pool.d/www.conf"
|
||||
src: php-fpm/www.conf.j2
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart php-fpm
|
||||
|
||||
- set_fact:
|
||||
phpinidefault:
|
||||
post_max_size: 64M
|
||||
upload_max_filesize: 64M
|
||||
memory_limit: 128M
|
||||
- set_fact:
|
||||
- name: apply php ini defaults
|
||||
set_fact:
|
||||
phpini: "{{ phpinidefault|combine( {} if (nginx.php == True) else nginx.php.ini|d({}) ) }}"
|
||||
|
||||
- name: copy php-fpm php.ini
|
||||
template:
|
||||
dest: "/etc/php/{{ php_version }}/fpm/php.ini"
|
||||
src: php-fpm/php.ini.j2
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart php-fpm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue