ansible-playbook esxi Host template publishing

前提條件

安裝ansible

yum install ansible vim wget net-tools git -y

需要滿足以下要求

  • python >= 2.6
  • PyVmomi

需安裝pyVmomi,它是用於VMware vSphere API的Python SDK,允許您管理ESX、ESXi和vCenter。

pip install pyvmomi

 創建中心 test,

esxi主機添加到中心

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章