├── .gitignore ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── defaults └── main.yml ├── handlers └── main.yml ├── meta └── main.yml ├── tasks ├── main.yml └── os_family │ ├── Debian.yml │ └── RedHat.yml ├── templates └── agent.j2 ├── tests ├── .rspec ├── Makefile ├── Rakefile ├── Vagrantfile ├── inventory ├── playbook.yml ├── spec │ ├── spec_helper.rb │ └── virtualbox │ │ └── sample_spec.rb └── vars.yml └── vars ├── main.yml └── os_family ├── Debian.yml └── RedHat.yml /.gitignore: -------------------------------------------------------------------------------- 1 | /.twgit_features_subject 2 | /.twgit 3 | .vagrant/ 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | language: python 4 | 5 | python: 6 | - 2.7 7 | 8 | env: 9 | - ANSIBLE_VERSION=latest 10 | - ANSIBLE_VERSION=1.9.2 11 | - ANSIBLE_VERSION=1.9.1 12 | - ANSIBLE_VERSION=1.9.0.1 13 | - ANSIBLE_VERSION=1.8.4 14 | - ANSIBLE_VERSION=1.8.3 15 | - ANSIBLE_VERSION=1.8.2 16 | - ANSIBLE_VERSION=1.8.1 17 | - ANSIBLE_VERSION=1.8 18 | - ANSIBLE_VERSION=1.7.2 19 | - ANSIBLE_VERSION=1.7.1 20 | - ANSIBLE_VERSION=1.7 21 | - ANSIBLE_VERSION=1.6.9 22 | - ANSIBLE_VERSION=1.6.8 23 | - ANSIBLE_VERSION=1.6.7 24 | - ANSIBLE_VERSION=1.6.6 25 | - ANSIBLE_VERSION=1.6.5 26 | - ANSIBLE_VERSION=1.6.4 27 | - ANSIBLE_VERSION=1.6.3 28 | - ANSIBLE_VERSION=1.6.2 29 | - ANSIBLE_VERSION=1.6.10 30 | - ANSIBLE_VERSION=1.6.1 31 | - ANSIBLE_VERSION=1.6 32 | - ANSIBLE_VERSION=1.5.5 33 | - ANSIBLE_VERSION=1.5.4 34 | - ANSIBLE_VERSION=1.5.3 35 | - ANSIBLE_VERSION=1.5.2 36 | - ANSIBLE_VERSION=1.5.1 37 | - ANSIBLE_VERSION=1.5 38 | - ANSIBLE_VERSION=1.4.5 39 | - ANSIBLE_VERSION=1.4.4 40 | - ANSIBLE_VERSION=1.4.3 41 | - ANSIBLE_VERSION=1.4.2 42 | - ANSIBLE_VERSION=1.4.1 43 | - ANSIBLE_VERSION=1.4 44 | 45 | install: 46 | # Install Ansible. 47 | - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi 48 | - gem install serverspec 49 | 50 | matrix: 51 | allow_failures: 52 | # See https://github.com/ansible/ansible/issues/6412 53 | # https://github.com/ansible/ansible/issues/6474 54 | - env: ANSIBLE_VERSION=1.5.5 55 | - env: ANSIBLE_VERSION=1.5.4 56 | - env: ANSIBLE_VERSION=1.5.3 57 | - env: ANSIBLE_VERSION=1.5.2 58 | - env: ANSIBLE_VERSION=1.5.1 59 | 60 | script: 61 | - cd tests 62 | - ansible-playbook -i inventory playbook.yml --syntax-check 63 | - ansible-playbook -i inventory playbook.yml --sudo -vvvv 64 | - rake spec 65 | - > 66 | ansible-playbook -i inventory playbook.yml --sudo 67 | | grep -q 'changed=0.*unreachable=0.*failed=0' 68 | && (echo 'Idempotence test: pass' && exit 0) 69 | || (echo 'Idempotence test: fail' && exit 1) 70 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'ci_reporter_rspec', '1.0.0' 4 | gem 'ci_reporter', '2.0.0' 5 | gem 'serverspec', '2.10.0' 6 | gem 'rake', '10.4.2' 7 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | builder (3.2.2) 5 | ci_reporter (2.0.0) 6 | builder (>= 2.1.2) 7 | ci_reporter_rspec (1.0.0) 8 | ci_reporter (~> 2.0) 9 | rspec (>= 2.14, < 4) 10 | diff-lcs (1.2.5) 11 | multi_json (1.11.0) 12 | net-scp (1.2.1) 13 | net-ssh (>= 2.6.5) 14 | net-ssh (2.9.2) 15 | rake (10.4.2) 16 | rspec (3.2.0) 17 | rspec-core (~> 3.2.0) 18 | rspec-expectations (~> 3.2.0) 19 | rspec-mocks (~> 3.2.0) 20 | rspec-core (3.2.1) 21 | rspec-support (~> 3.2.0) 22 | rspec-expectations (3.2.0) 23 | diff-lcs (>= 1.2.0, < 2.0) 24 | rspec-support (~> 3.2.0) 25 | rspec-its (1.2.0) 26 | rspec-core (>= 3.0.0) 27 | rspec-expectations (>= 3.0.0) 28 | rspec-mocks (3.2.1) 29 | diff-lcs (>= 1.2.0, < 2.0) 30 | rspec-support (~> 3.2.0) 31 | rspec-support (3.2.2) 32 | serverspec (2.10.0) 33 | multi_json 34 | rspec (~> 3.0) 35 | rspec-its 36 | specinfra (~> 2.15) 37 | specinfra (2.19.0) 38 | net-scp 39 | net-ssh 40 | 41 | PLATFORMS 42 | ruby 43 | 44 | DEPENDENCIES 45 | ci_reporter (= 2.0.0) 46 | ci_reporter_rspec (= 1.0.0) 47 | rake (= 10.4.2) 48 | serverspec (= 2.10.0) 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 N'Diaye Abdoul 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Blackfire.io 2 | ============ 3 | 4 | [![Build Status](https://travis-ci.org/AbdoulNdiaye/ansible-role-blackfire.svg)](https://travis-ci.org/AbdoulNdiaye/ansible-role-blackfire) 5 | [![Galaxy](https://img.shields.io/badge/Galaxy-AbdoulNdiaye.blackfire-blue.svg)](https://galaxy.ansible.com/list#/roles/3201) 6 | [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/AbdoulNdiaye/ansible-role-blackfire?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) 7 | 8 | An ansible role to install and configure Blackfire 9 | 10 | Requirements 11 | ------------ 12 | 13 | None. 14 | 15 | Role Variables 16 | -------------- 17 | 18 | 'blackfire_server_id' and 'blackfire_server_token' must be changed !! 19 | -------------------------------------------------------------- 20 | 21 | ``` yaml 22 | # Sets the server id used to authenticate with Blackfire API 23 | #blackfire_server_id: __CHANGE_THIS_VALUE__ 24 | 25 | # Sets the server token used to authenticate with Blackfire API. It is unsafe to set this from the command line 26 | #blackfire_server_token: __CHANGE_THIS_VALUE__ 27 | 28 | # Log verbosity level (4: debug, 3: info, 2: warning, 1: error) 29 | blackfire_log_level: 1 30 | 31 | # Sets the socket the agent should read traces from. 32 | # 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 33 | blackfire_socket: "unix:///var/run/blackfire/agent.sock" 34 | 35 | # Sets the URL of Blackfire's data collector 36 | blackfire_collector: https://blackfire.io 37 | 38 | # Restart apache after the activation of blackfire php extension 39 | blackfire_apache_enable: false 40 | 41 | # Restart php fpm after the activation of blackfire php extension 42 | blackfire_php_fpm_enable: true 43 | ``` 44 | 45 | Dependencies 46 | ------------ 47 | 48 | None. 49 | 50 | Example Playbook 51 | ---------------- 52 | 53 | ``` yaml 54 | - hosts: all 55 | roles: 56 | - { role: AbdoulNdiaye.Blackfire } 57 | vars: 58 | blackfire_server_id: __CHANGE_THIS_VALUE__ 59 | blackfire_server_token: __CHANGE_THIS_VALUE__ 60 | ``` 61 | 62 | FAQ 63 | --- 64 | 65 | Q: My playbook run fails with error **stderr: sudo: sorry, you must have a tty to run sudo** 66 | 67 | A: On RHEL based systems **/etc/sudoers** has line: 68 | 69 | ``` 70 | Defaults requiretty 71 | ``` 72 | 73 | It's safe to remove that line (https://bugzilla.redhat.com/show_bug.cgi?id=1020147) and by doing that everything should work. 74 | 75 | License 76 | ------- 77 | 78 | MIT 79 | 80 | Author Information 81 | ------------------ 82 | 83 | Abdoul N'Diaye [@AbdoulNdiaye](https://twitter.com/AbdoulNDiaye) 84 | 85 | Contact : 86 | -------------------------------------------------------------------------------- /defaults/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Defaults file for blackfire role. 3 | 4 | # Sets the server id used to authenticate with Blackfire API 5 | #blackfire_server_id: __CHANGE_THIS_VALUE__ 6 | 7 | # Sets the server token used to authenticate with Blackfire API. It is unsafe to set this from the command line 8 | #blackfire_server_token: __CHANGE_THIS_VALUE__ 9 | 10 | # Log verbosity level (4: debug, 3: info, 2: warning, 1: error) 11 | blackfire_log_level: 1 12 | 13 | # Sets the socket the agent should read traces from. 14 | # 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 15 | blackfire_socket: "unix:///var/run/blackfire/agent.sock" 16 | 17 | # Sets the URL of Blackfire's data collector 18 | blackfire_collector: https://blackfire.io 19 | 20 | # Restart apache after the activation of blackfire php extension 21 | blackfire_apache_enable: false 22 | 23 | # Restart php fpm after the activation of blackfire php extension 24 | blackfire_php_fpm_enable: true 25 | -------------------------------------------------------------------------------- /handlers/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | - name: restart php-fpm 4 | service: 5 | name: "{{ blackfire_php_fpm_daemon }}" 6 | state: restarted 7 | when: blackfire_php_fpm_enable and agent_configuration_state|changed 8 | 9 | - name: restart apache 10 | service: 11 | name: apache2 12 | state: restarted 13 | when: blackfire_apache_enable and agent_configuration_state|changed 14 | -------------------------------------------------------------------------------- /meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: Abdoul N'Diaye 4 | description: Blackfire installation 5 | license: MIT 6 | min_ansible_version: 1.4 7 | # 8 | # Below are all platforms currently available. Just uncomment 9 | # the ones that apply to your role. If you don't see your 10 | # platform on this list, let us know and we'll get it added! 11 | # 12 | platforms: 13 | - name: Ubuntu 14 | versions: 15 | - quantal 16 | - saucy 17 | - trusty 18 | - name: Debian 19 | versions: 20 | - wheezy 21 | # 22 | # Below are all categories currently available. Just as with 23 | # the platforms above, uncomment those that apply to your role. 24 | # 25 | categories: 26 | - development 27 | - monitoring 28 | - system 29 | - web 30 | dependencies: [] 31 | # List your role dependencies here, one per line. Only 32 | # dependencies available via galaxy should be listed here. 33 | # Be sure to remove the '[]' above if you add dependencies 34 | # to this list. 35 | 36 | -------------------------------------------------------------------------------- /tasks/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # tasks file for blackfire. 3 | 4 | - name: Include OS specific vars 5 | tags: blackfire 6 | include_vars: "os_family/{{ ansible_os_family }}.yml" 7 | 8 | - include: os_family/Debian.yml 9 | tags: blackfire 10 | when: ansible_os_family == 'Debian' 11 | 12 | - include: os_family/RedHat.yml 13 | tags: blackfire 14 | when: ansible_os_family == 'RedHat' 15 | 16 | - name: Create agent configuration 17 | tags: blackfire 18 | template: 19 | src=agent.j2 20 | dest={{ blackfire_directory }}/agent 21 | owner=0 22 | group=0 23 | mode=0644 24 | register: agent_configuration_state 25 | 26 | - name: Service blackfire-agent restart 27 | tags: blackfire 28 | sudo: true 29 | service: name=blackfire-agent state=restarted 30 | notify: 31 | - restart php-fpm 32 | - restart apache 33 | when: agent_configuration_state|changed 34 | 35 | - name: Restart apache if enable in configuration 36 | tags: blackfire 37 | service: name=apache2 state=restarted 38 | when: blackfire_apache_enable 39 | -------------------------------------------------------------------------------- /tasks/os_family/Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | ## Debian tasks 4 | 5 | - name: Install Curl 6 | apt: name=curl state=present 7 | 8 | - name: Register the packagecloud key 9 | tags: blackfire 10 | apt_key: 11 | url: "{{ blackfire_package_cloud_key_url }}" 12 | state: present 13 | 14 | - name: Add Blackfire package list in source.list 15 | tags: blackfire 16 | apt_repository: 17 | repo: 'deb {{ blackfire_package_url }} any main' 18 | state: present 19 | update_cache: yes 20 | 21 | - name: Install the blackfire-agent package 22 | tags: blackfire 23 | apt: name=blackfire-agent state=present 24 | 25 | - name: Install the blackfire-php package 26 | tags: blackfire 27 | apt: name=blackfire-php state=present 28 | -------------------------------------------------------------------------------- /tasks/os_family/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | ## RedHat tasks 4 | 5 | - name: Install Curl 6 | yum: name=curl state=present 7 | 8 | - name: Install the pygpgme package used to verify GPG signatures 9 | tags: blackfire 10 | yum: name=pygpgme state=present 11 | 12 | - name: Add Blackfire repository to the configuration 13 | tags: blackfire 14 | shell: curl "{{ blackfire_repository }}" | sudo tee /etc/yum.repos.d/blackfire.repo 15 | 16 | - name: Install the blackfire-agent package 17 | tags: blackfire 18 | yum: name=blackfire-agent state=present update_cache=yes 19 | 20 | - name: Install the blackfire-php package 21 | tags: blackfire 22 | yum: name=blackfire-php state=present 23 | -------------------------------------------------------------------------------- /templates/agent.j2: -------------------------------------------------------------------------------- 1 | [blackfire] 2 | ; 3 | ; This is a configuration file for Blackfire's Agent. 4 | ; Generated by blackfire ansible role. 5 | ; 6 | 7 | ; 8 | ; setting: ca-cert 9 | ; desc : Sets the PEM encoded certicates 10 | ; default: 11 | ca-cert= 12 | 13 | ; 14 | ; setting: collector 15 | ; desc : Sets the URL of Blackfire's data collector 16 | ; default: https://blackfire.io 17 | collector={{ blackfire_collector }} 18 | 19 | ; 20 | ; setting: http-proxy 21 | ; desc : Sets the http proxy to use 22 | ; default: 23 | http-proxy= 24 | 25 | ; 26 | ; setting: https-proxy 27 | ; desc : Sets the https proxy to use 28 | ; default: 29 | https-proxy= 30 | 31 | ; 32 | ; setting: log-file 33 | ; desc : Sets the path of the log file. Use stderr to log to stderr 34 | ; default: stderr 35 | log-file=stderr 36 | 37 | ; 38 | ; setting: log-level 39 | ; desc : log verbosity level (4: debug, 3: info, 2: warning, 1: error) 40 | ; default: 1 41 | log-level={{ blackfire_log_level }} 42 | 43 | ; 44 | ; setting: server-id 45 | ; desc : Sets the server id used to authenticate with Blackfire API 46 | ; default: 47 | server-id={{ blackfire_server_id }} 48 | 49 | ; 50 | ; setting: server-token 51 | ; desc : Sets the server token used to authenticate with Blackfire API. It is unsafe to set this from the command line 52 | ; default: 53 | server-token={{ blackfire_server_token }} 54 | 55 | ; 56 | ; setting: socket 57 | ; desc : 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 58 | ; default: unix:///var/run/blackfire/agent.sock 59 | socket={{ blackfire_socket }} 60 | 61 | ; 62 | ; setting: spec 63 | ; desc : Sets the path to the json specifications file 64 | ; default: 65 | spec= 66 | 67 | -------------------------------------------------------------------------------- /tests/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format documentation 3 | -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- 1 | tests: 2 | make test_ubuntu-12.04 3 | make test_ubuntu-14.04 4 | make test_debian-7.5 5 | make test_centos-7.0 6 | 7 | test_ubuntu-12.04: 8 | VM_BOX='hashicorp/precise64' vagrant up --provision 9 | VM_BOX='hashicorp/precise64' vagrant provision 10 | rake spec 11 | VM_BOX='hashicorp/precise64' vagrant destroy -f 12 | 13 | test_ubuntu-14.04: 14 | VM_BOX='ubuntu/trusty64' vagrant up --provision 15 | VM_BOX='ubuntu/trusty64' vagrant provision 16 | rake spec 17 | VM_BOX='ubuntu/trusty64' vagrant destroy -f 18 | 19 | test_debian-7.5: 20 | VM_BOX='puphpet/debian75-x64' vagrant up --provision 21 | VM_BOX='puphpet/debian75-x64' vagrant provision 22 | rake spec 23 | VM_BOX='puphpet/debian75-x64' vagrant destroy -f 24 | 25 | test_centos-7.0: 26 | VM_BOX='chef/centos-7.0' vagrant up --provision 27 | VM_BOX='chef/centos-7.0' vagrant provision 28 | rake spec 29 | VM_BOX='chef/centos-7.0' vagrant destroy -f 30 | -------------------------------------------------------------------------------- /tests/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rake' 2 | require 'rspec/core/rake_task' 3 | 4 | task :spec => 'spec:all' 5 | task :default => :spec 6 | 7 | namespace :spec do 8 | targets = [] 9 | Dir.glob('./spec/*').each do |dir| 10 | next unless File.directory?(dir) 11 | targets << File.basename(dir) 12 | end 13 | 14 | task :all => targets 15 | task :default => :all 16 | 17 | targets.each do |target| 18 | desc "Run serverspec tests to #{target}" 19 | RSpec::Core::RakeTask.new(target.to_sym) do |t| 20 | ENV['TARGET_HOST'] = target 21 | t.pattern = "spec/#{target}/*_spec.rb" 22 | end 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /tests/Vagrantfile: -------------------------------------------------------------------------------- 1 | $VM_BOX = ENV.has_key?('VM_BOX') ? ENV['VM_BOX'] : 'puphpet/debian75-x64' 2 | 3 | Vagrant.configure('2') do |config| 4 | config.vm.box = $VM_BOX 5 | 6 | config.vm.provision :ansible do |ansible| 7 | ansible.playbook = 'playbook.yml' 8 | ansible.extra_vars = { 9 | ansible_ssh_user: 'vagrant', 10 | vagrant: true 11 | } 12 | 13 | ansible.verbose = 'vvvv' 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /tests/inventory: -------------------------------------------------------------------------------- 1 | localhost ansible_connection=local -------------------------------------------------------------------------------- /tests/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | - hosts: all 4 | sudo: yes 5 | roles: 6 | - { role: ../../ansible-role-blackfire, tags: blackfire } 7 | vars_files: 8 | - vars.yml 9 | -------------------------------------------------------------------------------- /tests/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'serverspec' 2 | 3 | set :backend, :exec 4 | 5 | -------------------------------------------------------------------------------- /tests/spec/virtualbox/sample_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe service('blackfire-agent') do 4 | it { should be_enabled } 5 | it { should be_running } 6 | end 7 | 8 | %w{ 9 | /etc/blackfire/ 10 | }.each do |f| 11 | describe file(f) do 12 | it { should be_directory } 13 | end 14 | end 15 | 16 | %w{ 17 | /etc/blackfire/agent 18 | }.each do |f| 19 | describe file(f) do 20 | it { should be_file } 21 | end 22 | end 23 | 24 | describe file('/var/run/blackfire/agent.sock') do 25 | it { should be_socket } 26 | end 27 | -------------------------------------------------------------------------------- /tests/vars.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | blackfire_server_id: 6cf6fad7-063a-438a-82b0-5f2885eefffb 4 | blackfire_server_token: c593e67bdd71fbd9ab4f2bec4e30780921e46f422f7e9cb955f6b89cad37a7ce 5 | 6 | # Restart apache after the activation of blackfire php extension 7 | blackfire_apache_enable: false 8 | 9 | # Restart php fpm after the activation of blackfire php extension 10 | blackfire_php_fpm_enable: false 11 | -------------------------------------------------------------------------------- /vars/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # vars file for . 3 | 4 | blackfire_package_cloud_key_url: https://packagecloud.io/gpg.key 5 | 6 | blackfire_directory: /etc/blackfire 7 | -------------------------------------------------------------------------------- /vars/os_family/Debian.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | ## Debian vars 4 | 5 | blackfire_package_url: http://packages.blackfire.io/debian 6 | blackfire_source_list_file: /etc/apt/sources.list.d/blackfire.list 7 | 8 | blackfire_php_fpm_daemon: php5-fpm 9 | -------------------------------------------------------------------------------- /vars/os_family/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | # RedHat vars 4 | 5 | blackfire_repository: http://packages.blackfire.io/fedora/blackfire.repo 6 | 7 | blackfire_php_fpm_daemon: php-fpm 8 | --------------------------------------------------------------------------------