ansible:“无法设置cisco设备的终端参数”

时间:2018-11-05 20:41:58

标签: ansible

我正在尝试与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"}

0 个答案:

没有答案