【问题标题】:What are customvalue objects in the Ansible vmware_guest module?Ansible vmware_guest 模块中的自定义值对象是什么?
【发布时间】:2017-06-26 13:26:49
【问题描述】:

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

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

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

【问题讨论】:

    标签: ansible vmware vsphere vcenter


    【解决方案1】:

    很久没有答案了。为了完整起见: Ansible的vmware_guest模块中的customvalues obejcts是指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"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-06-27
      • 1970-01-01
      • 2020-02-20
      • 2022-11-07
      • 1970-01-01
      • 1970-01-01
      • 2023-02-14
      • 2019-05-25
      相关资源
      最近更新 更多