bodsch / ansible-collection-prometheus Goto Github PK
View Code? Open in Web Editor NEWA collection of Ansible roles for the Prometheus universe.
License: Apache License 2.0
A collection of Ansible roles for the Prometheus universe.
License: Apache License 2.0
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 :)
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.