# Warning in ansible-base 2.10 (when running playbook)

**URL:** <https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [October 6, 2020, 5:01pm UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975 "2020-10-06T17:01:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [October 6, 2020, 5:01pm UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975/1 "2020-10-06T17:01:36Z")

</div>

Debian 10.6 up-to-date, ansible-base 2.10.2 (for ubuntu bionic) installed as package.

Every module that implies a redirection (not from ansible.builtin) seems to trigger that warning.  
I.e: community.general, community.crypto, ansible.posix, community.mysql.  
Actually the correct statement is: every role which uses modules other than ansible.builtin generates that warning, even all modules are specified as CFQN (full name).

[debug with -vvvv]  
…  
redirecting (type: modules) ansible.builtin.sysctl to ansible.posix.sysctl  
Loading collection ansible.posix from /usr/share/ansible/collections/ansible\_collections/ansible/posix  
**[WARNING]: packaging Python module unavailable; unable to validate collection Ansible version requirements**  
…

But all playbooks are executing OK as far as I can tell.

The developers are saying it’s an user problem, so how can I find what’s missing and get rid of that warning ?

Thank you

---

<div class="post-metadata">

**Author:** ![Maurice\_Meyer](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Maurice\_Meyer](https://forum.ansible.com/u/Maurice_Meyer)\
**Post date:** [November 14, 2020, 1:02pm UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975/2 "2020-11-14T13:02:05Z")

</div>

I’m running into the same problem and can’t find any resources on what this effectively means and how I can solve it.

Any pointers?

---

<div class="post-metadata">

**Author:** ![Michael\_Felt](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Michael\_Felt](https://forum.ansible.com/u/Michael_Felt)\
**Post date:** [November 19, 2020, 11:49am UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975/3 "2020-11-19T11:49:45Z")

</div>

Your specific message - about package management - is setup-tools and/or wheel installed. Guessing, but I have had very similar messages when `wheel` is missing.

---

<div class="post-metadata">

**Author:** ![Dan\_Michael\_O\_Heggo](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@Dan\_Michael\_O\_Heggo](https://forum.ansible.com/u/Dan_Michael_O_Heggo)\
**Post date:** [December 14, 2020, 4:16pm UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975/4 "2020-12-14T16:16:20Z")

</div>

The warning tells you that you don’t have the Python package called “packaging” installed locally. This is a direct dependency of ansible-base, so under normal circumstances it should be installed when you install ansible.

If you’re using poetry, however, it will not install automatically at the moment, due to the way the dependencies are declared. I just submitted an issue about that: [https://github.com/ansible/ansible/issues/72967](https://github.com/ansible/ansible/issues/72967)

As a workaround, you have to add it manually: poetry add packaging

Dan Michael

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [December 15, 2020, 8:38am UTC](https://forum.ansible.com/t/warning-in-ansible-base-2-10-when-running-playbook/33975/5 "2020-12-15T08:38:33Z")

</div>

Indeed, that was the problem. When some package has package in its name it’s starting to be confusing. Thanks for the solution!

Alex

Pe luni, 14 decembrie 2020, la 18:16:20 UTC+2, [danmi...@gmail.com](mailto:danmi...@gmail.com) a scris:
