diff --git a/tasks/main.yml b/tasks/main.yml index 62092a07bd009deeca296ec2a8b0d23a4f08aa18..cfd2961edd7832bd866d45980b631b96814b7b57 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -21,7 +21,7 @@ when: not host_service_facts['host_service_facts'][inventory_hostname] | selectattr('key', 'equalto', 'TSM-SSH') | map(attribute='running') | list | first | bool notify: Stop SSH -- name: Configure MCEPSC mitigation +- name: Configure MCEPSC mitigation vSphere 6.x lineinfile: path: /etc/vmware/config line: 'monitor.if_pschange_mc_workaround = "TRUE"' @@ -33,7 +33,7 @@ ansible_python_interpreter: /bin/python when: (ansible_distribution_version == "6.7.0" and ansible_distribution_build|int >= 15018017) or (ansible_distribution_version == "6.5.0" and ansible_distribution_build|int >= 14990892) or (ansible_distribution_version == "6.0.0" and ansible_distribution_build|int >= 15018929) -- name: Configure MCEPSC mitigation +- name: Configure MCEPSC mitigation vSphere 7.x vmware_host_config_manager: hostname: '{{ vcenter_hostname }}' esxi_hostname: '{{ inventory_hostname }}'