jeffwidman / ansible-php-fpm-pool

Ansible helper role for creating/managing separate php-fpm pools for Centminmod installs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-fpm_pool

This is an Ansible helper role for installing and managing multiple php-fpm pools on servers setup using the Centminmod bash script.

If you're using Centminmod, the following roles play well together:

Example meta file:

To use this, in your domain-specific or app-specific role, add a meta dependency and pass required variables.

Make sure that every pool on a given server has a unique pool_tcp_port number.

---
# meta file for jeffwidman_com role

dependencies:
  - { role: php-fpm-pool,
        pool_name: "{{ jeff_blog_phpfpm_pool_name }}",
        pool_tcp_port: 9002,
        pool_user: "{{ jeff_blog_linux_user }}",
        pool_group: "{{ jeff_blog_linux_user }}",
        pm_type: ondemand,
        pm_max_children: 6
        }

License

MIT

Author Information

Jeff Widman jeff@jeffwidman.com

About

Ansible helper role for creating/managing separate php-fpm pools for Centminmod installs

License:MIT License