ansible - Ansible vmware_guest 模块中的自定义值对象是什么?

标签 ansible vmware vsphere vcenter

我们在 VMware 环境中广泛使用 Ansible。我在 https://docs.ansible.com/ansible/vmware_guest_module.html#options 的 Ansible 文档中找到了 customvalues 选项。 .

此模块中的自定义值是什么?

这是使用 VMware 标记还是其他?

最佳答案

很久没有答案。为了完整起见:
Ansible 的 vmware_guest 模块中的 customvalues 对象是指 VM 设置 -> VM 选项 -> vSphere 中的配置参数下的选项 As described in VMware KB

格式为:

vmware_guest:
  customvalues:
    - key: "option_name"
      value: "option_value"
    - key: "another_option_name_if_needed"
      value: "the_other_options_value"

关于ansible - Ansible vmware_guest 模块中的自定义值对象是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42121412/

相关文章:

ansible - 我可以在没有 vCenter 的情况下使用 Ansible 免费管理 vSphere 中的 guest 虚拟机吗?

ansible - 使用ansible和if语句创建逻辑卷

ansible - 如何通过 ansible-playbook 创建新的系统服务

ansible - Mac 上Ansible 需要手动创建/etc/ansible/hosts 吗?

linux - 通过 Vmware 构建 linux 应用程序

ansible - 提取没有扩展名的文件名 - Ansible

webserver - 如何从主机使用安装在 guest 计算机上的网络服务器

powershell - 发布构建 PowerCLI Mass OVF 导出工具

python-2.7 - 需要 python 接口(interface)将机器移动到另一个文件夹