Loading .travis.yml +4 −4 Original line number Diff line number Diff line Loading @@ -10,10 +10,8 @@ env: - VBOX_HWVIRTEX=off matrix: - TOXENV=openbsd60 - TOXENV=trusty - TOXENV=precise - &jessie TOXENV=jessie - TOXENV=wheezy - TOXENV=xenial - &stretch TOXENV=stretch cache: - pip Loading @@ -37,6 +35,8 @@ notifications: matrix: fast_finish: True allow_failures: - env: *stretch include: - env: TOXENV: pre-commit Loading README.rst +6 −6 Original line number Diff line number Diff line PHP-FPM ####### PHP7-FPM ######## .. image:: https://travis-ci.org/adarnimrod/php-fpm.svg?branch=master :target: https://travis-ci.org/adarnimrod/php-fpm .. image:: https://travis-ci.org/adarnimrod/php7-fpm.svg?branch=master :target: https://travis-ci.org/adarnimrod/php7-fpm Provision PHP FastCGI (FPM). Configuration of pools is done by placing templates inside :code:`templates/php-fpm/pools/` either inside the role or relative to Provision PHP7 FastCGI (FPM). Configuration of pools is done by placing templates inside :code:`templates/php7-fpm/pools/` either inside the role or relative to the playbook. Requirements Loading defaults/main.yml +10 −10 Original line number Diff line number Diff line --- # defaults file for php-fpm # defaults file for php7-fpm php_fpm_global_config: php7_fpm_global_config: error_log: syslog pid: '/var/run/{{ php_fpm_service[ansible_os_family] }}.pid' pid: '/var/run/{{ php7_fpm_service[ansible_os_family] }}.pid' php_fpm_www_pool_config: user: '{{ php_fpm_user[ansible_os_family] }}' group: '{{ php_fpm_user[ansible_os_family] }}' listen: '{{ php_fpm_listen_socket[ansible_os_family] }}' listen.owner: '{{ php_fpm_user[ansible_os_family] }}' listen.group: '{{ php_fpm_user[ansible_os_family] }}' php7_fpm_www_pool_config: user: '{{ php7_fpm_user[ansible_os_family] }}' group: '{{ php7_fpm_user[ansible_os_family] }}' listen: '{{ php7_fpm_listen_socket[ansible_os_family] }}' listen.owner: '{{ php7_fpm_user[ansible_os_family] }}' listen.group: '{{ php7_fpm_user[ansible_os_family] }}' listen.mode: '0660' pm: dynamic pm.max_children: 5 Loading @@ -20,4 +20,4 @@ php_fpm_www_pool_config: pm.status_path: /status.php ping.path: /ping.php chdir: / chroot: '{{ php_fpm_chroot[ansible_os_family]|default("") }}' chroot: '{{ php7_fpm_chroot[ansible_os_family]|default("") }}' handlers/main.yml +3 −3 Original line number Diff line number Diff line --- # handlers file for php-fpm # handlers file for php7-fpm - name: Restart PHP-FPM - name: Restart PHP7-FPM service: name: '{{ php_fpm_service[ansible_os_family] }}' name: '{{ php7_fpm_service[ansible_os_family] }}' state: restarted meta/main.yml +5 −7 Original line number Diff line number Diff line galaxy_info: author: Nimrod Adar description: Provision PHP FastCGI (FPM) description: Provision PHP7 FastCGI (FPM) company: Shore technologies license: MIT min_ansible_version: 2.3 Loading @@ -10,13 +10,11 @@ galaxy_info: - 6.0 - name: Ubuntu versions: - precise - trusty - xenial - name: Debian versions: - jessie - wheezy - stretch galaxy_tags: [ php, fpm, fastcgi, http, web ] dependencies: - src: adarnimrod.php5 name: php5 - src: adarnimrod.php7 name: php7 Loading
.travis.yml +4 −4 Original line number Diff line number Diff line Loading @@ -10,10 +10,8 @@ env: - VBOX_HWVIRTEX=off matrix: - TOXENV=openbsd60 - TOXENV=trusty - TOXENV=precise - &jessie TOXENV=jessie - TOXENV=wheezy - TOXENV=xenial - &stretch TOXENV=stretch cache: - pip Loading @@ -37,6 +35,8 @@ notifications: matrix: fast_finish: True allow_failures: - env: *stretch include: - env: TOXENV: pre-commit Loading
README.rst +6 −6 Original line number Diff line number Diff line PHP-FPM ####### PHP7-FPM ######## .. image:: https://travis-ci.org/adarnimrod/php-fpm.svg?branch=master :target: https://travis-ci.org/adarnimrod/php-fpm .. image:: https://travis-ci.org/adarnimrod/php7-fpm.svg?branch=master :target: https://travis-ci.org/adarnimrod/php7-fpm Provision PHP FastCGI (FPM). Configuration of pools is done by placing templates inside :code:`templates/php-fpm/pools/` either inside the role or relative to Provision PHP7 FastCGI (FPM). Configuration of pools is done by placing templates inside :code:`templates/php7-fpm/pools/` either inside the role or relative to the playbook. Requirements Loading
defaults/main.yml +10 −10 Original line number Diff line number Diff line --- # defaults file for php-fpm # defaults file for php7-fpm php_fpm_global_config: php7_fpm_global_config: error_log: syslog pid: '/var/run/{{ php_fpm_service[ansible_os_family] }}.pid' pid: '/var/run/{{ php7_fpm_service[ansible_os_family] }}.pid' php_fpm_www_pool_config: user: '{{ php_fpm_user[ansible_os_family] }}' group: '{{ php_fpm_user[ansible_os_family] }}' listen: '{{ php_fpm_listen_socket[ansible_os_family] }}' listen.owner: '{{ php_fpm_user[ansible_os_family] }}' listen.group: '{{ php_fpm_user[ansible_os_family] }}' php7_fpm_www_pool_config: user: '{{ php7_fpm_user[ansible_os_family] }}' group: '{{ php7_fpm_user[ansible_os_family] }}' listen: '{{ php7_fpm_listen_socket[ansible_os_family] }}' listen.owner: '{{ php7_fpm_user[ansible_os_family] }}' listen.group: '{{ php7_fpm_user[ansible_os_family] }}' listen.mode: '0660' pm: dynamic pm.max_children: 5 Loading @@ -20,4 +20,4 @@ php_fpm_www_pool_config: pm.status_path: /status.php ping.path: /ping.php chdir: / chroot: '{{ php_fpm_chroot[ansible_os_family]|default("") }}' chroot: '{{ php7_fpm_chroot[ansible_os_family]|default("") }}'
handlers/main.yml +3 −3 Original line number Diff line number Diff line --- # handlers file for php-fpm # handlers file for php7-fpm - name: Restart PHP-FPM - name: Restart PHP7-FPM service: name: '{{ php_fpm_service[ansible_os_family] }}' name: '{{ php7_fpm_service[ansible_os_family] }}' state: restarted
meta/main.yml +5 −7 Original line number Diff line number Diff line galaxy_info: author: Nimrod Adar description: Provision PHP FastCGI (FPM) description: Provision PHP7 FastCGI (FPM) company: Shore technologies license: MIT min_ansible_version: 2.3 Loading @@ -10,13 +10,11 @@ galaxy_info: - 6.0 - name: Ubuntu versions: - precise - trusty - xenial - name: Debian versions: - jessie - wheezy - stretch galaxy_tags: [ php, fpm, fastcgi, http, web ] dependencies: - src: adarnimrod.php5 name: php5 - src: adarnimrod.php7 name: php7