Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 724 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 724 Bytes

ansible-php7.1-fpm for Debian/Ubuntu

Ansible role for installing php-fpm on the your Debian/Ubuntu system.

php7.1 by default

Overwrite Default Variables

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

Special thanks go to Mathias Leppich for a handy script that allows for clearing of Opcache via cli command.