Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.18.1 #490

Open
kencho51 opened this issue Dec 6, 2024 · 0 comments

Comments

@kencho51
Copy link

kencho51 commented Dec 6, 2024

Got the following warning:

[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.18.1

When tried to install prometheus node_exporter as the following following playbook task:

- name: Install node exporter
  hosts: xxxxxxxxxxxx
  tags:
    - node-exporter
  roles:
    - prometheus.prometheus.node_exporter

Ansible version

 % ansible --version                                         
ansible [core 2.18.1]
  config file = None
  configured module search path = ['/Users/$user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/Cellar/ansible/11.1.0/libexec/lib/python3.13/site-packages/ansible
  ansible collection location = /Users/$user/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.13.0 (main, Oct  7 2024, 05:02:14) [Clang 16.0.0 (clang-1600.0.26.4)] (/opt/homebrew/Cellar/ansible/11.1.0/libexec/bin/python)
  jinja version = 3.1.4
  libyaml = True

From the Prometheus Collection Doc, only ansible version >2.9.0 and <2.17.99 is supported.

So, it is better to update Prometheus collection, as currently the latest ansible version is 2.18.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant