Update role dependencies
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
---
|
||||
- name: Add vmhgfs module (RHEL 6).
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: vmhgfs.modules.j2
|
||||
dest: /etc/sysconfig/modules/vmhgfs.modules
|
||||
mode: 0755
|
||||
mode: '0755'
|
||||
when: ansible_distribution_major_version|int <= 6
|
||||
|
||||
- name: Install open-vm-tools.
|
||||
yum:
|
||||
ansible.builtin.yum:
|
||||
name: open-vm-tools
|
||||
state: present
|
||||
when: ansible_distribution_major_version|int >= 7
|
||||
|
||||
- include_tasks: vmware-tools.yml
|
||||
- name: vmware tools installation
|
||||
ansible.builtin.include_tasks: vmware-tools.yml
|
||||
when: ansible_distribution_major_version|int <= 6
|
||||
|
||||
Reference in New Issue
Block a user