agaric-coop/box/provisioning/roles/geerlingguy.php-tideways
2018-08-20 10:45:20 -04:00
..
defaults Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
meta Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
tasks Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
templates Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
tests Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
vars Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
.gitignore Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
.travis.yml Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00
README.md Add all files needed to bring up VM and run agaric.com locally 2018-08-20 10:45:20 -04:00

Ansible Role: PHP-Tideways

Build Status

Installs the Tideways PHP Profile Extension on Linux servers.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

workspace: /root

Where Tideways setup files will be downloaded and built.

tideways_download_url: https://github.com/tideways/php-profiler-extension/archive/master.zip
tideways_download_folder_name: php-profiler-extension-master

The URL from which Tideways will be downloaded.

tideways_api_key: ''

If you use the Tideways UI, set this variable to your API key. Otherwise the extension can be used along with the XHProf UI to view profiles.

tideways_install_xhprof_ui: yes

Tideways data-format is 100% compatible with XHProf so you can use the XHProf UI to browse profiles reports and the XHProfRuns_Default class to write the profile data to disk. If you use the Tideways UI, set this variable to no.

xhprof_download_url: https://github.com/phacility/xhprof/archive/master.tar.gz
xhprof_download_folder_name: xhprof-master

The URL from which XHProf will be downloaded.

php_xhprof_lib_dir: /usr/share/php/xhprof_lib

Directory where the XHProf PHP library is stored.

php_xhprof_html_dir: /usr/share/php/xhprof_html

Directory where the XHProf UI is stored.

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.