Ansible role for installing php-fpm on the your Debian/Ubuntu system.
The vars/main.yml
file should contain your list of packages you want to install in order to override defaults found in defaults/main.yml
.
Additionally, you can overwrite the variables as part of your playbook.
---
...
vars:
php_ppa: "ondrej/php"
php_user: www-data
php_group: www-data
php_listen: /var/run/php7.1-fpm.sock
...
Special thanks go to Mathias Leppich for a handy script that allows for clearing of Opcache via cli command.