cloudalchemy / ansible-node-exporter

Provision basic metrics exporter for prometheus monitoring tool
MIT License
500 stars 272 forks source link

tasks/main.yml wrong parameter in import_tasks: install.yml #269

Closed rapik0088 closed 1 year ago

rapik0088 commented 1 year ago

What happened?

Environment

__node_exporter_current_version_output
TASK [cloudalchemy.node_exporter : Create the node_exporter group] *************************************************************************************************************************************
fatal: [rhea0109a.gaia.ucom.am]: FAILED! => {"msg": "The conditional check '( not __node_exporter_is_installed.stat.exists ) or ( __node_exporter_current_version_output.stderr_lines[0].split(\" \")[2] != node_exporter_version ) or ( node_exporter_binary_local_dir | length > 0 )' failed. The error was: error while evaluating conditional (( not __node_exporter_is_installed.stat.exists ) or ( __node_exporter_current_version_output.stderr_lines[0].split(\" \")[2] != node_exporter_version ) or ( node_exporter_binary_local_dir | length > 0 )): list object has no element 0\n\nThe error appears to be in '/home/andrey.grigorian/.ansible/roles/cloudalchemy.node_exporter/tasks/install.yml': line 8, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create the node_exporter group\n  ^ here\n"}

Anything else we need to know?:

SuperQ commented 1 year ago

This role has been deprecated in favor of a the prometheus-community/ansible collection.