For more details, please see ourCookie Policy.


DevNet Discussions

Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎08-24-2018

Brocade switches and ansible

I automate deployments for all of our Cisco switches through Ansible. I would like to do the same with Brocade. Currently I am trying with the ironware_command module. I get the error from ansible {"msg": "unable to disable terminal pager"}

 

This is my yaml I am using to test this:

---
- name: Get Device Facts
hosts: brocade
gather_facts: no
connection: local
vars_prompt:
- name: "user"
prompt: "User"
private: no
- name: "PASS"
prompt: "Password"
private: yes

tasks:
- name: get config
ironware_command:
commands:
- show interfaces brief

 

Anyone have a better way of doing this?

 

Broadcom
Posts: 21
Registered: ‎01-31-2012

Re: Brocade switches and ansible

ansible reference examples on github.com/brocade are using locally executed scripts dependent on pyfos. they are not using ssh connection. do you have specific use cases in mind?

Join the Broadcom Community

Get quick and easy access to valuable resources across the Broadcom Community Network.