Skip to content

eeroniemi/ansible-role-blackfire

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackfire.io

Build Status Galaxy Gitter

An ansible role to install and configure Blackfire

Requirements

None.

Role Variables

'blackfire_server_id' and 'blackfire_server_token' must be changed !!

    # Sets the server id used to authenticate with Blackfire API
    #blackfire_server_id: __CHANGE_THIS_VALUE__
    
    # Sets the server token used to authenticate with Blackfire API. It is unsafe to set this from the command line
    #blackfire_server_token: __CHANGE_THIS_VALUE__
    
    # Log verbosity level (4: debug, 3: info, 2: warning, 1: error)
    blackfire_log_level: 1
    
    # Sets the socket the agent should read traces from.
    # Possible value can be a unix socket or a TCP address. ie: unix:///var/run/blackfire/agent.sock or tcp://127.0.0.1:8307
    blackfire_socket: "unix:///var/run/blackfire/agent.sock"
    
    # Sets the URL of Blackfire's data collector
    blackfire_collector: https://blackfire.io
    
    # Restart apache after the activation of blackfire php extension
    blackfire_apache_enable: false
    
    # Restart php fpm after the activation of blackfire php extension
    blackfire_php_fpm_enable: true

Dependencies

None.

Example Playbook

    - hosts: all
      roles:
         - { role: AbdoulNdiaye.blackfire }
      vars:
        blackfire_server_id:    __CHANGE_THIS_VALUE__
        blackfire_server_token: __CHANGE_THIS_VALUE__

License

MIT

Author Information

Abdoul N'Diaye @AbdoulNdiaye

Contact : abdoul.nd@gmail.com

About

Ansible role to install Blackfire Profiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 76.0%
  • Makefile 24.0%