ansible - Get service tool error when trying to install vmware tools -
i trying install vmware tools on exsi host. code have it.
--- - hosts: my-host tasks: - name: install vmware tools yum: pkg="open-vm-tools" state=present when: ansible_os_family == "redhat" - name: enabling , starting -> vmtoolsd service: name=vmtoolsd enabled=yes state=started
this error after run code.
play [my-host]
task [setup] ******************************************************************* ok: [myhost.com]
task [install vmware tools] **************************************************** skipping: [myhost.com]
task [enabling , starting -> vmtoolsd] *************************************** fatal: [myhost.com]: failed! => {"changed": false, "failed": true, "msg": "get_service_tools not implemented on target platform"}
no more hosts left ************************************************************* [warning]: not create retry file 'vmwaretools.retry'.
[errno 2] no such file or directory: ''play recap ********************************************************************* myhost.com : ok=1 changed=0 unreachable=0
failed=1
this host file using.
[my-host] myhost.com ansible_ssh_pass=mypw ansible_ssh_user=root
how can implement get_service_tools on host error message points out? new of please pardon naiveté. thanks
answer comment:
as in previous question, need execute tasks on guest hosts, not on host esxi.
Comments
Post a Comment