Reputation: 6120
I am getting started with Ansible + Azure. While I see Ansible modules for quite a few tasks, I am kinda stuck at the basic task of obtaining the subscription_id and subscription_name
To work around this I am using the az account show --subscription <subscription_name>
command instead. I pull the output of that command into ansible and extract subscription_id
and subscription_name
Is there a way to perform this task via an Ansible module instead ?
Upvotes: 0
Views: 261