Hello.
I am trying to use the ansible_connection: vmware_tools in my playbook. I have been successful in connecting and running basic commands. But I am finding when using modules like yum and there is a long task to do such a patching a linux server after being 1st built the playbook comes back with an error saying “The guest operations agent could not be contacted” and my playbook fails. I go to the server and do a yum update and it’s been fully patched. It seems to me there is a timeout issues waiting for the command to complete.
For the life of me have been unable to find any timeout parameters for the vmtools using the ansible_connection and that fails. When I tried ansible_command_timeout the module also failed.
After the failure I ran the playbook again and it came back saying there was nothing to be done. So I know the command worked and patched the server but still I"m unable to find any kind of timeout parameter for this functionally.
Any ideas?
I know I can use the command with standard SSH connection but I’m trying something new that might help use with other issues. I would like to get the vmtools connection to work as it should and expected to work.
Any help would be appreciated.
Thanks.
Glen