Coder Social home page Coder Social logo

geerlingguy / ansible-role-blackfire Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 5.0 36 KB

Ansible Role - Blackfire PHP Profiler

Home Page: https://galaxy.ansible.com/geerlingguy/blackfire/

License: MIT License

ansible role blackfire blackfire-io profile php code performance code-analysis

ansible-role-blackfire's Introduction

ansible-role-blackfire's People

Contributors

geerlingguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-blackfire's Issues

PHP dependency

Firstly, thank you for your hard work on these Ansible roles. Now, this role has a dependency on your PHP role, but as far as I can see, there is nothing in the blackfire role that explicitly requires geerlingguy/ansible-role-php and I think it would be beneficial if these weren't coupled (I'm using a different PHP role). Thoughts?

Restart blackfire-agent

After following the instruction any attempt to profile resulted in the following error:

Are you authorized to profile this page? No probe response, missing PHP extension or invalid signature for relaying agent.

A quick restart of the blackfire-agent solved the issue:

sudo /etc/init.d/blackfire-agent restart

I recommend adding this to the readme.

apt cache update failed

TASK [geerlingguy.blackfire : Add packagecloud repository.] ********************
failed: [127.0.0.1] (item=deb http://packages.blackfire.io/debian any main) => {"ansible_loop_var": "item", "changed": false, "item": "deb http://packages.blackfire.io/debian any main", "msg": "apt cache update failed"}

Debian / Ubuntu install failing due to unsigned blackfire.io package

See failed build: https://travis-ci.org/geerlingguy/ansible-role-blackfire/jobs/478025641#L911

TASK [geerlingguy.blackfire : Add packagecloud repository.] ********************
    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt.cache.FetchFailedException: W:GPG error: http://packages.blackfire.io/debian any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 696DBE66A72D76DA, E:The repository 'http://packages.blackfire.io/debian any InRelease' is not signed.
    failed: [instance] (item=deb http://packages.blackfire.io/debian any main) => {"changed": false, "item": "deb http://packages.blackfire.io/debian any main", "module_stderr": "Traceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1547525874.6-276786064483292/AnsiballZ_apt_repository.py\", line 113, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1547525874.6-276786064483292/AnsiballZ_apt_repository.py\", line 105, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1547525874.6-276786064483292/AnsiballZ_apt_repository.py\", line 48, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/tmp/ansible_apt_repository_payload_sfjpR0/__main__.py\", line 550, in <module>\n  File \"/tmp/ansible_apt_repository_payload_sfjpR0/__main__.py\", line 542, in main\n  File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 546, in update\n    raise FetchFailedException(e)\napt.cache.FetchFailedException: W:GPG error: http://packages.blackfire.io/debian any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 696DBE66A72D76DA, E:The repository 'http://packages.blackfire.io/debian any InRelease' is not signed.\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

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.