Giter Club home page Giter Club logo

ansible-collection-prometheus's People

Contributors

bodsch avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kenael

ansible-collection-prometheus's Issues

Missing library "jinja2" for json_exporter

Hey,

upon installation of the json_exporter, an error occurs:

TASK [bodsch.prometheus.json_exporter : create custom fact file] *****************************************************************************************************************************
fatal: [redacted]: FAILED! => {
    "changed": false,
    "rc": 1
}

MSG:

MODULE FAILURE
See stdout/stderr for the exact error


MODULE_STDOUT:


Traceback (most recent call last):
  File "/home/lxadmin/.ansible/tmp/ansible-tmp-1693414609.1921391-366756-73945771632527/AnsiballZ_facts.py", line 102, in <module>
    _ansiballz_main()
  File "/home/lxadmin/.ansible/tmp/ansible-tmp-1693414609.1921391-366756-73945771632527/AnsiballZ_facts.py", line 94, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/home/lxadmin/.ansible/tmp/ansible-tmp-1693414609.1921391-366756-73945771632527/AnsiballZ_facts.py", line 40, in invoke_module
    runpy.run_module(mod_name='ansible_collections.bodsch.core.plugins.modules.facts', init_globals=None, run_name='__main__', alter_sys=True)
  File "/usr/lib/python3.9/runpy.py", line 210, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/usr/lib/python3.9/runpy.py", line 97, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/tmp/ansible_bodsch.core.facts_payload_7i0jd4k1/ansible_bodsch.core.facts_payload.zip/ansible_collections/bodsch/core/plugins/modules/facts.py", line 15, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/tmp/ansible_bodsch.core.facts_payload_7i0jd4k1/ansible_bodsch.core.facts_payload.zip/ansible_collections/bodsch/core/plugins/module_utils/template/template.py", line 8, in <module>
ModuleNotFoundError: No module named 'jinja2'



MODULE_STDERR:

Shared connection to redacted closed.

after installing the package manually, the role terminated without error.

thanks for this role :)

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.