VMware Cloud Community
Paul_SI
Enthusiast
Enthusiast

Modify Ansible Tower inventory moment

Hi all,

We've added a Ansible Tower integration to vRA8 and so far so good. But a action to add the vm to the inventory is triggered before the vm is finished.. Should this succeed before the vm is ready, or does this have to wait??

If it has to wait, how can I change this?

I'm getting this error:

Ansible create workflow failed with error. Unable to add host to the inventory with Id: 5.

I have a Windows 2016 image with a Customization Specification containing this:

  • 1 auto logons as Administrator
  • 1 RunOnce command to enable remote Powershell and WinRM:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{Enable-PSRemoting -Force; winrm quickconfig -force;}"

Reply
0 Kudos
0 Replies