Why Am I Seeing an Error When Using the Command Module In Ansible After Running 'yum update'?

Solution Verified - Updated -

Issue

When using the command module after running a yum update, Ansible playbooks fail with a python error.

Environment

Any

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.