Role Detail

geerlingguy.blackfire

Blackfire installation for Linux
Downloads
12868
Type Ansible
Minimum Ansible Version 2.4
Installation $ ansible-galaxy install geerlingguy.blackfire
Tags
development
web
Last Commit
Last Imported
Version History
Version Release Date
1.1.0
1.0.0
OS Platforms
Platform Version
Debian buster
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 6
EL 7
Ubuntu bionic
Ubuntu precise
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu xenial
Dependencies
Role
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS

Ansible Role: Blackfire

Build Status

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):

blackfire_packages:
  - blackfire-agent
  - 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.

Dependencies

Requires the geerlingguy.php role.

Example Playbook

- hosts: webserver
  roles:
    - geerlingguy.php
    - geerlingguy.blackfire

License

MIT / BSD

Author Information

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

None