initial commit
This commit is contained in:
58
README.md
Normal file
58
README.md
Normal file
@@ -0,0 +1,58 @@
|
||||
Role Name
|
||||
=========
|
||||
|
||||
|
||||
Install php-fpm (for apache)
|
||||
|
||||
and some php packages along the way
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
php_version: default 73
|
||||
php_fpm_pool_user: default apache
|
||||
php_fpm_pool_group: default apache
|
||||
php_fpm_listen_url: default 127.0.0.1:90{{ php_version }}
|
||||
php_pm: static
|
||||
php_pm_max_children: 1000
|
||||
php_pm_max_requests: 10000
|
||||
php_pm_status_url: /phpstatus
|
||||
php_packages: [ 'php{{ php_version }}-php-common' ]
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
Better have apache
|
||||
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
||||
|
||||
- hosts: servers
|
||||
vars:
|
||||
httpd_server_name: foobar.fr
|
||||
php_version: 73
|
||||
php_packages:
|
||||
- php73-php-imap
|
||||
- php73-php-pear
|
||||
roles:
|
||||
- apache
|
||||
- php-fpm
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
Thomas C <thomas@opendoor.fr>
|
||||
|
||||
Reference in New Issue
Block a user