错误!意外异常:“module”对象没有“load\u vars”属性

2024-10-02 22:34:32 发布

您现在位置:Python中文网/ 问答频道 /正文

运行ansible playbook时出现以下错误ERROR! Unexpected Exception: 'module' object has no attribute 'load_vars'

以下是ansible版本

MacBook-Pro:sponnusamy$ ansible --version
ansible 2.3.1.0
  config file = /Users/sponnusamy/ansible.cfg
  configured module search path = [u'library']
  python version = 2.7.10 (default, Jul 30 2016, 18:31:42) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]

我试着用谷歌搜索它,但找不到确切的错误答案。请帮我解决这个问题


Tags: noobjectversion错误exceptionloadattributeerror