Are you by any chance using `localhost` as the managed host? If so, see https://access.redhat.com/solutions/6726561
On Mon, Jan 9, 2023 at 7:29 AM Michael DiDomenico <[email protected]> wrote: > this probably a question for redhat, but i'm hoping someone already > asked and answered this. > > according to this blog post > https://www.redhat.com/en/blog/updates-using-ansible-rhel-86-and-90 > redhat switched from ansible to ansible-core. which means to me that > when i install ansible-core i get the updated version to ansible-core > 2.13, okay great. > > but when i try to run a firewalld task in ansible i get > > "msg": "Python Module not found: firewalld and its python module are > required for this module, version 0.2.11 or newer required (0.3.9 or > newer for offline operations)" > > this is because there is no python 3.9 version of the firewalld > modules only python 3.6. but ansible is installed with 3.9 and as i > understood requires 3.9+. > > however, when i set the python interpreter to 3.6 in ansible.cfg the > firewalld tasks run fine. > > so i guess i'm confused. what is the repercussion of setting > python3.6 as the ansible interpreter vs python3.9, if there's none > then what's forcing ansible to mandate 3.9 instead of just using the > redhat default of 3.6? is there a reason i shouldn't just set py36 as > the default interpreter on all my rhel8 hosts? > > before i attempt to navigate redhat support, does anyone know off hand > how/if redhat plans to rev the py3.6 modules to py3.9 in rhel8 for > ansible? i see rhel9 already made the leap, but i can't goto rhel9 > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CABOsP2ONsjiy75MRrd%3DK9pYoCJHhOfLbnH3xqNX%2BxTMTu1UCRg%40mail.gmail.com > . > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALF5A-%2Bj74%2BpXDZECU5w4HQh95b0uhqH_%2BVZqBBbHRG0d62yng%40mail.gmail.com.
