美文网首页
ansible lookup dig报错

ansible lookup dig报错

作者: 孙悟空压在山脚下 | 来源:发表于2017-10-11 16:04 被阅读33次

fatal: [localhost]: FAILED! => {"failed": true, "msg": "An unhandled exception occurred while running the lookup plugin 'dig'. Error was a, original message: Can't LOOKUP(dig): module dns.resolver is not installed"}

报错解决方案:

安装dnspython

在官网下载http://www.dnspython.org/安装包,python setup.py install安装即可

相关文章

网友评论

      本文标题:ansible lookup dig报错

      本文链接:https://www.haomeiwen.com/subject/qbpwyxtx.html