geerlingguy.php-tideways
DEPRECATED Ansible Role: PHP-Tideways
DEPRECATED: This Ansible role is no longer supported and has been marked as deprecated.
This role installs the Tideways PHP Profile Extension on Linux servers.
Requirements
No special requirements.
Role Variables
Here are the variables you can set, along with their default values (found in defaults/main.yml
):
workspace:
/root
This is the directory where Tideways setup files will be downloaded and built.tideways_download_url:
https://github.com/tideways/php-xhprof-extension/archive/master.zip
The URL to download Tideways from.tideways_download_folder_name:
php-xhprof-extension-master
The name of the folder where Tideways will be downloaded.tideways_extension_name:
tideways_xhprof.so
The name of the Tideways PHP extension.tideways_api_key:
''
If you are using the Tideways UI, enter your API key here. If not, you can view profiles using the XHProf UI.tideways_install_xhprof_ui:
true
Tideways data works well with XHProf. Set this tono
if you prefer to use the Tideways UI instead.xhprof_download_url:
https://github.com/phacility/xhprof/archive/master.tar.gz
The URL to download XHProf from.xhprof_download_folder_name:
xhprof-master
The name of the folder where XHProf will be downloaded.php_xhprof_lib_dir:
/usr/share/php/xhprof_lib
The location of the XHProf PHP library.php_xhprof_html_dir:
/usr/share/php/xhprof_html
The location of the XHProf UI.
Dependencies
- geerlingguy.php
Example Playbook
- hosts: webservers
roles:
- geerlingguy.php-tideways
License
MIT / BSD
Author Information
This role was created in 2017 by Jeff Geerling, author of Ansible for DevOps.
Tideways PHP Profiler Extension for Linux
ansible-galaxy install geerlingguy.php-tideways