我正在尝试与cisco ASA设备进行交互,但是请不断收到“无法设置终端参数”错误,请帮助。
- hosts: ASA
#connection: network_cli
gather_facts: no
vars:
cli:
username: "username"
password: "password"
authorize: yes
auth_pass: "password"
transport: cli
tasks:
- name: run multiple commands and evaluate the output
asa_command:
commands:
- show version
provider: "{{ cli }}"
TASK [run multiple commands and evaluate the output]
fatal: [node1]: FAILED! => {"msg": "unable to set terminal parameters"}
fatal: [node2]: FAILED! => {"msg": "unable to set terminal parameters"}