evoadmin-web: Put the php config at the right place for Buster

This commit is contained in:
Ludovic Poujol 2019-10-02 15:45:41 +02:00
parent 429fc39b86
commit e985f5778c
2 changed files with 12 additions and 2 deletions

View File

@ -46,6 +46,7 @@ The **patch** part changes incrementally at each release.
* nginx: fix munin fcgi not working (missing chmod 660 on logs)
* roundcube: fix typo for roundcube vhost
* tomcat: fix typo for default tomcat_version
* evoadmin-web: Put the php config at the right place for Buster
### Security

View File

@ -9,14 +9,23 @@
notify: reload apache2
when: ansible_distribution_release == "jessie"
- name: "Set custom values for PHP config (Debian 9 or later)"
- name: "Set custom values for PHP config (Debian 9)"
ini_file:
dest: /etc/php/7.0/apache2/conf.d/zzz-evolinux-custom.ini
section: PHP
option: "disable_functions"
value: "shell-exec,system,passthru,putenv,popen"
notify: reload apache2
when: ansible_distribution_major_version | version_compare('9', '>=')
when: ansible_distribution_major_version | version_compare('9', '=')
- name: "Set custom values for PHP config (Debian 10)"
ini_file:
dest: /etc/php/7.3/apache2/conf.d/zzz-evolinux-custom.ini
section: PHP
option: "disable_functions"
value: "shell-exec,system,passthru,putenv,popen"
notify: reload apache2
when: ansible_distribution_major_version | version_compare('10', '=')
- name: Install evoadmin VHost
template: