vahubert.vmwaretools
Ansible Role: vmwaretools
This role helps you install official VMware Tools from VMware or use Open VMware Tools (open-vm-tools) if needed.
Requirements
None.
Role Variables
Here are the variables you can use, along with their default settings (found in defaults/main.yml
):
Version of VMware Tools to install. Check for possible versions here: VMware Packages
vmwaretools_tools_version: latest
YUM repository server. Change this if you have a copy of public YUM repositories on your local network.
vmwaretools_yum_server: https://packages.vmware.com
Repository path on the YUM server. Adjust this if you have a local copy of public YUM repositories.
vmwaretools_yum_path: /tools
Repository package version. For example:
9.4.10-1
for the URLhttp://packages.vmware.com/tools/esx/latest/repos/vmware-tools-repo-RHEL6-9.4.10-1.el6.x86_64.rpm
vmwaretools_repo_version: 9.4.10-1
Dependencies
None.
Example Playbook
- hosts: servers
become: yes
roles:
- { role: vahubert.vmwaretools, when: ansible_virtualization_type == 'VMware' }
License
BSD
Author Information
This role was created in 2014 by petr.ruzicka@gmail.com
ansible-galaxy install vahubert.vmwaretools