Why Am I Seeing IOError: [Errno 2] No such file or directory: '/var/lib/awx/.azure/azureProfile.json' When Running Jobs With Azure Modules?
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, tools, and much more.