python - Ansible playbook 返回“pickle 数据被截断,不安全的字符串 pickle”
问题描述
- hosts: Router
tasks:
- name: show int fa4 ip address
ios_command:
commands: show run int fa4
become: yes
become_method: enable
register: Teste
- debug: var=Teste.stdout_lines
我收到以下错误:
fatal: [Router]: FAILED! => {"msg": "pickle data was truncated"}
使用 Ansible 版本:2.6.1
在剧本中添加了以下内容:
gather_facts: no
错误更改为:
fatal: [Router]: FAILED! => {"msg": "insecure string pickle"}
有没有人看到这个/有解决方案?
解决方案
推荐阅读
- python - 无法从python中带有特殊字符的链接下载文件
- python - 为什么我的 MV 不能收敛,而普通 Vars 可以?
- css - 根据包装状态格式化弹性项目
- r - 使用行和列作为指标,用大型数据帧中的值填充矩阵
- javascript - 使用 HTML 按钮和 Javascript 切换显示/隐藏包含在 Span 类标签中的 html 文本
- reactjs - 带有服务器端渲染、代码拆分的样式化组件(不是 next.js)
- java - 如何正确设置我的 Spring 持久性模型,以便特定模型正确子类化“通用”模型?
- android - 从 Google Drive 将图像加载到 ImageVew
- python - 美丽的汤 get_text() 适用于 jupyter notebook 和 cmd 但不适用于 Pycharm/Heroku?
- visual-studio - Visual Studio 2019:由于单击“运行”按钮而发生构建时未触发构建后事件