With this module, you can manage the acceptance level of your VMware ESXi host. There are four acceptance levels supported by VMware, and these are:
- VMwareCertified
- VMwareAccepted
- PartnerSupported
- CommunitySupported
These levels control the VIBs which can be installed on the ESXi host; a VIB is an ESXi software package. This typically dictates the level of support you will receive from either VMware or a VMware partner. The following task will set the acceptance level to CommunitySupported for all of the ESXi hosts in the named cluster:
- name: Set acceptance level for all esxi hosts in the cluster
vmware_host_acceptance:
hostname: "{{ vsphere_host }}"
username: "{{ vsphere_username }}"
password: "{{ vsphere_password }}"
validate_certs: "no"
cluster_name: "my_cluster"
acceptance_level: "community"
state: present
register: cluster_acceptance_level