Hi Everyone,
I wrote a simple playbook in order to install VMware tools using win_powershell module. The VMware tools get installed, the server is restarted (the reboot is triggered by the installer), the server is at the logging screen, but the template job keeps running and it will not end.
Any thoughts?
Here is the playbook:
- name: Installing VMware Tools
hosts: "{{target_host}}"
tasks:
- name: Download VMtools
ansible.windows.win_get_url:
url: http://10.72.152.62/VMtools.exe
dest: C:\Users\administrator\Desktop\VMtools.exe
- name: Install VMtools
ansible.windows.win_powershell:
script: C:\Users\administrator\Desktop\VMtools.exe /S /v/qn