nd-roy / ansible-role-blackfire Goto Github PK
View Code? Open in Web Editor NEWAnsible role to install Blackfire Profiler
Home Page: https://galaxy.ansible.com/list#/roles/3201
License: MIT License
Ansible role to install Blackfire Profiler
Home Page: https://galaxy.ansible.com/list#/roles/3201
License: MIT License
Trying to use this role on AWS, with Ubuntu AMI, I get the following error
TASK [AbdoulNdiaye.blackfire : Install the blackfire-php package] **************
Sunday 17 April 2016 17:36:15 +0200 (0:00:01.861) 0:00:13.134 **********
fatal: [52.50.221.23]: FAILED! => {"cache_update_time": 0, "cache_updated": false, "changed": false, "failed": true, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'blackfire-php'' failed: \u001b[31m\nWe are sorry but we were unable to find any suitable version of Blackfire Probe for your system.\nWe would like to help you, please contact us on https://blackfire.io using the Feedback button.\nOS: Linux ip-172-31-24-211 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\nArchitecture: amd64\nPHP ABI version(s) detected: none\nPHP ABI version(s) installed: none\nPHP extension directory detected: none\nPHP extension directory installed: none\nPHP configuration directory detected: none\n\u001b[0m\ndpkg: error processing package blackfire-php (--configure):\n subprocess installed post-installation script returned error exit status 1\nErrors were encountered while processing:\n blackfire-php\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr": "\u001b[31m\nWe are sorry but we were unable to find any suitable version of Blackfire Probe for your system.\nWe would like to help you, please contact us on https://blackfire.io using the Feedback button.\nOS: Linux ip-172-31-24-211 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\nArchitecture: amd64\nPHP ABI version(s) detected: none\nPHP ABI version(s) installed: none\nPHP extension directory detected: none\nPHP extension directory installed: none\nPHP configuration directory detected: none\n\u001b[0m\ndpkg: error processing package blackfire-php (--configure):\n subprocess installed post-installation script returned error exit status 1\nErrors were encountered while processing:\n blackfire-php\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nblackfire-php is already the newest version.\n0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.\n1 not fully installed or removed.\nAfter this operation, 0 B of additional disk space will be used.\nSetting up blackfire-php (1.10.4) ...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "blackfire-php is already the newest version.", "0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.", "1 not fully installed or removed.", "After this operation, 0 B of additional disk space will be used.", "Setting up blackfire-php (1.10.4) ..."]}
There is typo in README.md for Ansible Galaxy role name.
Should be AbdoulNdiaye.Blackfire
When I try to run this playbook on CentOS, I get error "stderr: sudo: sorry, you must have a tty to run sudo" on two occasions (curl fetch and service restart). Solution to this is to remove this line:
Defaults requiretty
from /etc/sudoers
I think this should be part of the README.md's, for example FAQ section.
RedHat/CentOS apache daemon is called "httpd" and not "apache2".
So the apache restart handler fails on redhat based systems:
msg: no service or tool found for: apache2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.