Why custom execution environment fails with "winrm or requests is not installed: No module named 'winrm'"?

Solution Verified - Updated -

Issue

  • Job fails with below error on using custom execution environment.

    "msg": "winrm or requests is not installed: No module named 'winrm'"
    

Environment

  • Ansible Automation Platform 2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content