Improve php-fpm examle

This commit is contained in:
Felix Niederwanger 2021-05-05 15:32:15 +02:00
parent f9969d6b36
commit 85e11c2c0e
Signed by: phoenix
GPG key ID: 31860289A704FB3C

View file

@ -26,4 +26,20 @@ This ansible role comes with a minimal set of configuration parameters.
# Example
A extended example is in the [Example Webserver](/posts/20210326-example-webserver/) post.
This role installs only `php-fpm`. It works best together with the [nginx role](20210326-ansible-nginx/), but you can also use it as a standalone:
```yaml
---
- hosts: jellyfish
user: root
roles:
- role: geekoops-php-fpm
vars:
apcu_enable: true
apcu_shm_size: 32M
php_memlimit: 256M
php_maxuploadsize: 64M
```
A more extended example of this role together with `nginx` can be found in the [Example Webserver](/posts/20210326-example-webserver/) post.