Hi Jordan, Can you please describe it briefly? You want us to create a new VM and then point that IP to add_host?
On Thursday, April 11, 2019 at 12:30:28 PM UTC+5:30, Jordan Borean wrote: > > If your inventory is targeting localhost then that means it's trying to > run a Windows module on the Ansible controller which won't work. You cna > use the azure_rm_virtualmachine module to spin up a host but then you will > have to use something like 'add_host' [1] to add the host for the current > execution then change the play to that new host. > > [1] https://docs.ansible.com/ansible/latest/modules/add_host_module.html > > Thanks > > Jordan > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8254df4c-e104-405f-b9b8-08080ce5e0e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
