0
我想使用ansible配置一個EOS交換機。我使用SSH密鑰建立了它們之間的連接,並測試了連接。我寫了一本簡單的手冊,並試圖執行它。但是,我得到一個消息:不支持的參數模塊:運輸Ansible arista EOS
我的劇本
- hosts: EOS
gather_facts: no
roles:
- arista.eos
tasks:
- name: Configuring VLAN
eos_vlan: vlanid=150
name=NewVLAN
transport={{ transport }}
username={{ username }}
password={{ password }}
debug=yes
register: vlan_cfg_output
- debug: var=vlan_cfg_output
在我的清單文件
[EOS]
Arista ansible_ssh_host=192.168.10.5
[EOS:vars]
ansible_ssh_user=ansible
transport=http
username=eapi
password=password
嗨菲利普, 謝謝你的迴應,你會讓我知道Ansible,pyeapi和ansible-eos在使用哪個版本。你的意思是arista.eos或Ansible-eos?我將如何檢查該版本? – charan