我正在为 Ansible 使用瞻博网络模块,但是我遇到了以下问题。你有什么主意吗 ?
致命:[172.31.30.158]:失败!=> {"changed": false, "msg": "检查配置失败:RpcTimeoutError(host: 172.31.30.158, cmd: commit-configuration, timeout: 10)"}
剧本:
- name: "Configure Device"
hosts: junos
connection: local
timeout: 50
gather_facts: no
tasks:
- name: "Configure op script"
juniper.device.config:
config_mode: "private"
check_commit_wait: 20
load: "set"
src: "test.txt"
register: response
- name: "Print the config changes"
debug:
var: response