在最佳实践页面中,有一个hosts.yml用于主机文件的示例:
hosts.yml
但是,在文档中,我只能找到用于编写hosts文件的INI语法.
YAML中库存文件的语法是什么?
ansible ansible-inventory
ansible ×1
ansible-inventory ×1