Giter Site home page Giter Site logo

ginsys / ansible-plugins Goto Github PK

View Code? Open in Web Editor NEW
151.0 18.0 30.0 82 KB

A set of custom plugins for ansible (https://github.com/ansible/ansible) configuration management: multi-node deployment/orchestration, and remote task execution system. This project is not affiliated with the ansible project.

Python 92.16% Shell 7.84%

ansible-plugins's People

Stargazers

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

Watchers

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

ansible-plugins's Issues

ImportError: No module named callback

Using /etc/ansible/ansible.cfg as config file
Loaded callback default of type stdout, v2.0
ERROR! Unexpected Exception: No module named callback
the full traceback was:

Traceback (most recent call last):
  File "/usr/bin/ansible-playbook", line 92, in <module>
    exit_code = cli.run()
  File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 154, in run
    results = pbex.run()
  File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 81, in run
    self._tqm.load_callbacks()
  File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 171, in load_callbacks
    for callback_plugin in callback_loader.all(class_only=True):
  File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 368, in all
    self._module_cache[path] = self._load_module_source(name, path)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 319, in _load_module_source
    module = imp.load_source(name, path, module_file)
  File "/usr/lib/python2.7/site-packages/ansible/plugins/callback/timestamp.py", line 19, in <module>
    from ansible.callback import display
**ImportError: No module named callback**

dpkg_reconfigure should rely upon debconf-set-selections

From @drzraf on April 30, 2015 3:50

The current model is not robust (as I encountered dpkg/debconf errors of this types several times):
Use of uninitialized value [1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111. Use of uninitialized value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84.

The current design depends on "faking" the dpkg-reconfigure EDITOR with a on-the-fly created sh script which will finally cat the json value formated as a key=value format.

I wonder why debconf-set-selections wasn't used to begin with.
Piping the questions (4 fields format) to debconf-set-selections should be enough (uploading them to use a regular file is possible too).
Then dpkg-reconfigure would have to be re-run again to take the new values into account.
(debconf-set-selection --check may be of some interest too)

is there interest in revisiting this module?

Copied from original issue: sbocahu/ansible-library-extra#1

runner_on_ok() takes 3 arguments now.

[WARNING]: Failure when attempting to use callback plugin

plugins/callback_plugins/human_log.CallbackModule

runner_on_ok() takes exactly 3 arguments (2 given)

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.