Hi All, 

As an update, I've figured out that Ansible does indeed work with just az 
login, the thing that doesn't is the azure_rm.py script we use for dynamic 
inventory. 

Does anybody have a solution for this?

Steve

On Friday, 9 August 2019 14:52:36 UTC+1, Steve Townsend wrote:
>
> Hi All, 
>
> Thank you for taking a look at my post. 
>
> I'm trying to figure out if there is a better way to have Ansible 
> authenticate with Azure when running playbooks. Right now, I've got a 
> service principle set in my .azure/credentials section which works fine, 
> but introduces security concerns. The alternative is using Azure AD, but 
> that seems to need your password in clear text. 
>
> The only solution I can think of is to write a bash script which will 
> create a short lived RBAC Service Principle and export the values to my 
> enviromental variables, run the play-book then get rid of it all. 
>
> Please somebody tell me there is a magicial way which will work with my az 
> login?
>
> Thanks, 
> Steve
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c6562bf0-d1e3-43c4-9494-633859a5ad42%40googlegroups.com.

Reply via email to