Commit 23ced497 authored by Adam Robinson's avatar Adam Robinson
Browse files

split each setting into a separate task

parent b26ac3c0
---
# tasks file for pure_storage_vmware_best_practices
- name: Set ESXi Pure Storage Best Practices
- name: DataMover.HardwareAcceleratedInit
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
......@@ -8,10 +8,64 @@
password: '{{ vmware_password }}'
options:
'DataMover.HardwareAcceleratedInit': 1
delegate_to: localhost
- name: DataMover.HardwareAcceleratedMove
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'DataMover.HardwareAcceleratedMove': 1
delegate_to: localhost
- name: VMFS3.HardwareAcceleratedLocking
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'VMFS3.HardwareAcceleratedLocking': 1
delegate_to: localhost
- name: Disk.DiskMaxIOSize
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'Disk.DiskMaxIOSize': 4096
delegate_to: localhost
- name: VMFS3.UseATSForHBOnVMFS5
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'VMFS3.UseATSForHBOnVMFS5': '{{ 0 if Third_Party_Array_Not_Support_ATS_HB|bool else 1 }}'
delegate_to: localhost
- name: DataMover.MaxHWTransferSize
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'DataMover.MaxHWTransferSize': '{{4096 if Third_Party_Array_Not_Support_Max_HW_Transfer_Size|bool else 16384}}'
'VMFS3.EnableBlockDelete': 1
delegate_to: localhost
- name: VMFS3.EnableBlockDelete
vmware_host_config_manager:
hostname: '{{ vcenter_hostname }}'
esxi_hostname: '{{ inventory_hostname }}'
username: '{{ vmware_user }}'
password: '{{ vmware_password }}'
options:
'VMFS3.EnableBlockDelete': 1
delegate_to: localhost
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment