项目作者: geerlingguy

项目描述 :
Ansible Role - Blackfire PHP Profiler
高级语言:
项目地址: git://github.com/geerlingguy/ansible-role-blackfire.git
创建时间: 2016-05-10T21:00:16Z
项目社区:https://github.com/geerlingguy/ansible-role-blackfire

开源协议:MIT License

下载


Ansible Role: Blackfire

CI

Installs Blackfire on RHEL/CentOS or Debian/Ubuntu.

Requirements

After installation, you need to complete Blackfire setup manually before profiling:

  1. Register the Blackfire agent: sudo blackfire-agent -register
  2. Configure Blackfire: blackfire config

Role Variables

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

  1. blackfire_packages:
  2. - blackfire-agent
  3. - blackfire-php

The Blackfire packages this role will install on the server. Note that blackfire-php may not work well with XHProf and/or XDebug.

  1. blackfire_gpg_key_url: https://packages.blackfire.io/gpg.key
  2. blackfire_repo_url: http://packages.blackfire.io/fedora/blackfire.repo

Variables used for Blackfire package setup and installation.

Dependencies

Requires the geerlingguy.php role.

Example Playbook

  1. - hosts: webserver
  2. roles:
  3. - geerlingguy.php
  4. - geerlingguy.blackfire

License

MIT / BSD

Author Information

This role was created in 2016 by Jeff Geerling, author of Ansible for DevOps.