GithubHelp home page GithubHelp logo

nd-roy / ansible-role-blackfire Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 12.0 36 KB

Ansible role to install Blackfire Profiler

Home Page: https://galaxy.ansible.com/list#/roles/3201

License: MIT License

Ruby 75.99% Makefile 24.01%

ansible-role-blackfire's Introduction

Metrics

ansible-role-blackfire's People

Contributors

abdoulndiaye avatar eeroniemi avatar kosssi avatar nd-roy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-blackfire's Issues

Error when installing

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) ..."]}

"stderr: sudo: sorry, you must have a tty to run sudo" fail on CentOS

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.