Ansible - 忽略.ansible.cfg中的库存选项

时间:2017-08-03 20:40:28

标签: ansible

我已经仔细检查过Ansible正在阅读我的.ansible.cfg文件(确实如此)。

但是,如果我使用以下设置:

inventory      = /my/local/inventory

如果在运行No hosts matched时忽略-i选项,我会不断收到错误消息ansible

我已经尝试了ansible -vvv,但这没有任何消息。

我还查看了https://github.com/ansible/ansible/issues/11907并检查了没有设置ENV个变量。

还有其他建议吗?

0 个答案:

没有答案