mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-03-02 09:52:10 +07:00
[WIP] Some improvements
This commit is contained in:
BIN
filter_plugins/__pycache__/php.cpython-37.pyc
Normal file
BIN
filter_plugins/__pycache__/php.cpython-37.pyc
Normal file
Binary file not shown.
10
filter_plugins/php.py
Normal file
10
filter_plugins/php.py
Normal 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,
|
||||
}
|
||||
BIN
filter_plugins/php.pyc
Normal file
BIN
filter_plugins/php.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user