Improvements (#13)

- Store configuration in local facts
- Better socket generator
- php_admin_value/php_value
- Manages PHP 7.4 on Debian
This commit is contained in:
Emilien M
2019-12-26 14:13:00 +01:00
committed by GitHub
parent 9738ae9614
commit a19adf5150
13 changed files with 135 additions and 60 deletions

Binary file not shown.

10
filter_plugins/php.py Normal file
View File

@@ -0,0 +1,10 @@
def php_socket(php_version, pool_name):
return '/run/php/php%s-%s-fpm.sock' % (php_version, pool_name)
class FilterModule(object):
''' PHP module '''
def filters(self):
return {
'php_socket': php_socket,
}