This is for AWS but you can get the concept and apply using azure modules 
instead: 
https://github.com/ffirg/ansible/blob/master/vm_orchestration/offpremise/roles/offprem/tasks/amazon.yml
Basically capture register output and then use add_host to create an in 
memory inventory to apply the rest of the config to.

On Thursday, 21 November 2019 11:29:13 UTC, Shaik wrote:
>
> Hi Team,
>
> I am working on playbook to deploy multiple virtual machines on Azure 
> cloud, and i got succeed  in that task, and am trying to run multiple tasks 
> on newly created virtual machines using the same playbook which i used for 
> creation. can somebody help me with this task please.
>
> Thanks & Regards
> -Shaik
>

-- 
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/1090eb14-983f-4ed5-9787-c3b9863a2101%40googlegroups.com.

Reply via email to