Hello Experts, 

I am trying to use ansible for azure automation and want to use ansible as 
much as possible for resources creation and auto assigning the role based 
access. 

While doing so , I couldn't find any replacement for below  az cli  in 
ansible module.

"az ad user show --id usern...@example.com"   (  I am doing this to get the 
ObjectId of the user and group so that i can use that  with 
azure_rm_roleassignment 
module)

Do anyone have suggestion how do we address this ? Also for any az cli if 
there is no substitute , How one handles this ? If one calls the az cli in 
playbook then how does he pass the credentials  (mainly service principal ).

Looking forward to suggestions.

Regards,
Prakash. 



-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2ad41538-5caf-4227-a827-1e022ef6dc5b%40googlegroups.com.

Reply via email to