Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

geerlingguy/ansible-role-blackfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

blackfire_gpg_key_url: https://packages.blackfire.io/gpg.key
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

- 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.