mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-09-13 01:25:27 +07:00
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:
Binary file not shown.
@@ -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,
|
||||
}
|
||||
Reference in New Issue
Block a user