mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-10-25 04:14:04 +07:00
[WIP] Some improvements
This commit is contained in:
1 parent
9738ae9614
commit
1eea41cd39
5 files changed
+59
No files matched your search
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,
|
||||
}
|
||||
Binary file not shown.
Reference in new issue
Block a user