Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidalger/ansible-role-php-fpm
Ansible Role - PHP-FPM from IUS RPMs for RHEL / CentOS Linux
https://github.com/davidalger/ansible-role-php-fpm
ansible php-fpm role system
Last synced: about 10 hours ago
JSON representation
Ansible Role - PHP-FPM from IUS RPMs for RHEL / CentOS Linux
- Host: GitHub
- URL: https://github.com/davidalger/ansible-role-php-fpm
- Owner: davidalger
- License: mit
- Created: 2018-10-01T21:03:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-15T18:05:34.000Z (over 4 years ago)
- Last Synced: 2024-04-12T04:12:03.091Z (7 months ago)
- Topics: ansible, php-fpm, role, system
- Homepage: https://galaxy.ansible.com/davidalger/php_fpm
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: PHP-FPM
[![Build Status](https://travis-ci.com/davidalger/ansible-role-php-fpm.svg?branch=master)](https://travis-ci.com/davidalger/ansible-role-php-fpm)
Installs php-fpm from [IUS Community Project](http://ius.io) RPMs on RHEL / CentOS 7. Where archived verions of php are required, the ius-archive repository may be enabled.
Currently this role installs `php-fpm` pre-configured with defaults built around the Magento 2 application. Some of these defaults may be high than required for other applications of the php-fpm service. One of these areas would by the php-opcache defaults, which must be very high for high Magento 2 application performance and may otherwise be reduced. See `defaults/main.yml` and `vars/opcache.yml` for details.
## Requirements
None.
## Role Variables
php_version: 73
Any php version supported by IUS RPMs may be specified: 55, 56, 70, 71, 72, 73, 74, etc. For older versions, `php_enablerepo: ius-archive` will also need to be specified.
See `defaults/main.yml` for complete list of variables available to customize the php-fpm installation.
## Dependencies
* `davidalger.repo_ius`
## Example Playbook
- hosts: web-servers
roles:
- { role: davidalger.php_fpm, tags: php-fpm }## License
This work is licensed under the MIT license. See LICENSE file for details.
## Author Information
This role was created in 2017 by [David Alger](http://davidalger.com/).