https://github.com/jeffwidman/ansible-php-fpm-pool
Ansible helper role for creating/managing separate php-fpm pools for Centminmod installs
https://github.com/jeffwidman/ansible-php-fpm-pool
Last synced: 4 months ago
JSON representation
Ansible helper role for creating/managing separate php-fpm pools for Centminmod installs
- Host: GitHub
- URL: https://github.com/jeffwidman/ansible-php-fpm-pool
- Owner: jeffwidman
- License: mit
- Created: 2015-09-28T22:56:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-01T19:43:38.000Z (over 10 years ago)
- Last Synced: 2025-10-25T22:48:29.374Z (8 months ago)
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
php-fpm_pool
=========
This is an Ansible helper role for installing and managing multiple php-fpm
pools on servers setup using the [Centminmod](http://centminmod.com/) bash script.
If you're using Centminmod, the following roles play well together:
- **[centminmod wrapper](https://github.com/jeffwidman/ansible-centminmod)** (handles basic install + tuning common configuration settings)
- **[mariadb](https://github.com/jeffwidman/ansible-mariadb)** (configures common my.cnf settings)
- **[centminmod-domain-verification](https://github.com/jeffwidman/ansible-centminmod-domain-verification)** (tests that individual domains are configured properly)
- **[php-fpm-pool](https://github.com/jeffwidman/ansible-php-fpm-pool)** (for creating/managing individual php-fpm pools for each PHP app)
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