skip to Main Content

Rebooting an Azure VM within an ansible playbook

I've an inventory that looks like this: virtualmachines: hosts: Name-Of-My-Azure-VM-Here: ansible_host: 1.2.3.4 ansible_port: 22 Name-Of-My-Other-Azure-VM-Here: ansible_host: 2.3.4.5 ansible_port: 22 I'm trying to reboot the machine when I'm done with the setup. The built in reboot command throws an error: Reboot…

VIEW QUESTION
Back To Top
Search