我有一个ansible.cfg
文件。Ansible的表现不符合我的预期,但我不知道这是因为我的配置不起作用,还是因为我的ansible.cfg
文件根本没有被拾取。
如何验证我的ansible.cfg
是否正常工作?
发布于 2020-02-12 18:16:14
问:“我不知道是我的配置不起作用了,还是我的ansible.cfg文件根本没有被提取出来。”
A:运行命令
ansible-config dump --only-changed
这将"Only show configurations that have changed from the default"
,并且还将揭示更改的来源:它是一个配置文件或一个环境变量。
有关详情,请参阅Configuration settings。
https://stackoverflow.com/questions/60194289
复制相似问题