Created
September 1, 2020 05:03
-
-
Save jesseloudon/993a2e73ff72a94db7f7ce7eb8ee5ebc to your computer and use it in GitHub Desktop.
Ansible setup AzureCLI auth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the Azure CLI to your Ansible control host to authenticate to Azure | |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | |
# authenticate and set the desired subscription context | |
az login | |
az account list | |
az subscription set -s SUBSCRIPTIONID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment