我们在 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/