我在Windows10(System1)上安装了Cygwin64,包括Ansible2.8。 然后,我尝试执行一个使用模块“netscaler\u server”的剧本,该模块在以下情况下失败:
failed: [localhost -> 164.28.47.183] (item=10.3.128.39) => {"ansible_loop_var": "item", "changed": false, "item": "10.3.128.39", "msg": "Could not load nitro python sdk"}
我将文件夹“nssrc”从Nitro Python SDK(v.11.1)复制到了“C:\cygwin64\lib\python3.7\site packages\”中,但仍然出现错误
然后我在另一个Windows10(System2)上安装了此配置,一切正常,但我在Cygwin安装中找不到任何明显的差异
这在两个系统上都是相同的:
$ ansible --version
ansible 2.8.4
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/A785298/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.7.4 (default, Jul 21 2019, 14:43:25) [GCC 7.4.0]
我想请你帮我找出System1和System2之间的区别。有什么想法吗
目前没有回答
相关问题 更多 >
编程相关推荐