打开ansible yaml文件, 经常报错:
1 |
Unable to load schema from 'http://json.schemastore.org/ansible-stable-2.9': connect ETIMEDOUT 137.117.17.70:80 |
是代理的问题,可添加代理:
1 2 3 4 5 6 7 8 |
Press F1 Type user settings. Select Preferences:Open User Settings from drop down Put below code and modify accordingly "http.proxy": "http://username:password@hostname:port/", "http.proxyAuthorization": null, "http.proxyStrictSSL": true |
我选择关闭代理:
1 2 3 |
"http.proxy": "", "http.proxyAuthorization": null, "http.proxyStrictSSL": false |
烦人的报错提示终于消失了
0 Comments