added support for php ini values and custom vhost config
This commit is contained in:
parent
a7a49f80d3
commit
9289015473
4 changed files with 26 additions and 4 deletions
|
|
@ -49,10 +49,17 @@
|
|||
notify:
|
||||
- restart php-fpm
|
||||
|
||||
- set_fact:
|
||||
phpinidefault:
|
||||
post_max_size: 64M
|
||||
upload_max_filesize: 64M
|
||||
- set_fact:
|
||||
phpini: "{{ phpinidefault|combine( {} if (nginx.php == True) else nginx.php.ini|d({}) ) }}"
|
||||
|
||||
- name: copy php-fpm php.ini
|
||||
copy:
|
||||
template:
|
||||
dest: /etc/php/7.0/fpm/php.ini
|
||||
src: php-fpm/php.ini
|
||||
src: php-fpm/php.ini.j2
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart php-fpm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue