Provisioning of Azure VM fails with embedded ansible

Solution Verified - Updated -

Issue

  • Playbooks used to deploy new VM on Azure provider using CloudForms embedded ansible fails with below error
  File "/tmp/ansible_azure_rm_networkinterface_payload_rMNsAt/ansible_azure_rm_networkinterface_payload.zip/ansible/module_utils/azure_rm_common.py", line 141, in 
    from azure.common.credentials import ServicePrincipalCredentials, UserPassCredentials
ImportError: No module named azure.common.credentials

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