Getting a errors with ansible checks...

260 views
Skip to first unread message

Chris Bidwell - NOAA Federal

unread,
Mar 9, 2021, 12:33:08 PM3/9/21
to ansible...@googlegroups.com
Hi all,

I am routinely getting this error running a playbook.  I've verified that python3-dnf IS installed, so I'm not sure why it's complaining here.  

failed: [dido-test] (item=['puppet-agent', 'puppet5-release']) => {"ansible_loop_var": "item", "changed": false, "cmd": "dnf install -y python3-dnf", "item": ["puppet-agent", "puppet5-release"], "msg": "Could not import the dnf python module using /usr/bin/python (3.8.3 (default, Aug 18 2020, 08:56:04) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]). Please install `python3-dnf` package or ensure you have specified the correct ansible_python_interpreter.", "rc": 0, "results": [], "stderr": "", "stderr_lines": [], "stdout": "Updating Subscription Management repositories.\nRed Hat Enterprise Linux 8 for x86_64 - AppStre  57 kB/s | 2.8 kB     00:00    \nRed Hat Enterprise Linux 8 for x86_64 - BaseOS   50 kB/s | 2.4 kB     00:00    \nRed Hat Satellite Tools 6.6 for RHEL 8 x86_64 (  42 kB/s | 2.1 kB     00:00    \nPackage python3-dnf-4.2.23-4.el8.noarch is already installed.\nDependencies resolved.\nNothing to do.\nComplete!\n", "stdout_lines": ["Updating Subscription Management repositories.", "Red Hat Enterprise Linux 8 for x86_64 - AppStre  57 kB/s | 2.8 kB     00:00    ", "Red Hat Enterprise Linux 8 for x86_64 - BaseOS   50 kB/s | 2.4 kB     00:00    ", "Red Hat Satellite Tools 6.6 for RHEL 8 x86_64 (  42 kB/s | 2.1 kB     00:00    ", "Package python3-dnf-4.2.23-4.el8.noarch is already installed.", "Dependencies resolved.", "Nothing to do.", "Complete!"]}
Reply all
Reply to author
Forward
0 new messages