June 2018
Beginner
578 pages
13h 39m
English
This module comes with a warning which reads: This module is destructive as administrator permission are managed using APIs used, please read options carefully and proceed..
You can lock down a host with the following code:
- name: Lockdown an ESXi host vmware_host_lockdown: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" validate_certs: "no" esxi_hostname: "{{ exsi_host }}" state: "present"
You can take a host out of lockdown using:
- name: Remove the lockdown on an ESXi host vmware_host_lockdown: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" validate_certs: "no" esxi_hostname: "{{ exsi_host }}" state: ...Read now
Unlock full access