On Sun, Feb 13, 2022 at 12:18 AM Rilindo Foster <
ril...@gmail.com> wrote:
>
> 1) you may want to upgrade your versions of Ansible - and Python, for that matter.
>
> 2) if it is only happening on a single host, it makes me wonder if LVM is even installed on that host.
>
> - Rilindo
Upgrading python is a bit more of an adventure. Having multiple bits
of different ansible installations, and different pythons, is a great
way to create debugging messes. So is having different pythons and
different ansible bits on different remote hosts. I'd encourage making
sure that all your ansible servers and remote servers have
/usr/bin/python3 working.
It's why, for the RPM building tools I publish, I go ahead and replace
'#!/usr/bin/python" and "#!/usr/bin/env python" Everywhere with
'#!/usr/bin/python3', as part of the '%setup' stanza, and why I'd
discourage the use of "pip install ansible". "#!/usr/bin/python"
yields python2 on some systems, and that way lies madness.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/556B5E15-5310-4FDF-BD05-F16787D06B5D%40gmail.com.