Closed andygrunwald closed 2 months ago
I am having the same issue but with version 2.17.1 [WARNING]: Collection prometheus.prometheus does not support Ansible version 2.17.1
ansible [core 2.17.1] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.11/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.11.2 (main, Sep 12 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3.11) jinja version = 3.1.4 libyaml = True
same here:
[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.17.3
We are also looking into upgrading our ansible to this version. Love to hear when the new ansible version will be available
During an ansible run, the following warning will be thrown:
Right now, the runtime information limits it to
2.16.*
:https://github.com/prometheus-community/ansible/blob/f0030673774193349a3f8b9956d6361fad688cb7/meta/runtime.yml#L2
Do you have any special check/test-suite you run before you enable this collection to work with a new Ansible version? Otherwise, I can create a PR to support Ansible 2.17.*. In my setup, it works pretty well so far.
requirements.yml
Ansible Version