Why Am I Seeing IOError: [Errno 2] No such file or directory: '/var/lib/awx/.azure/azureProfile.json' When Running Jobs With Azure Modules?

Solution Verified - Updated -

Issue

Tutorials surrounding the usage of azure_rm_* modules mention creating an Azure credential file manually (i.e.$HOME/.azure/credentials). However, creating a credentials file for Azure-based playbooks is only required for Ansible runs that are Ad-Hoc and do not run from Ansible Tower.

Environment

  • Ansible Tower

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