Brocade Automation Community

Expand all | Collapse all

Brocade switches and ansible

  • 1.  Brocade switches and ansible

    Posted 08-27-2018 02:32 PM

    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?

     


    #BrocadeAutomationCommunity


  • 2.  Re: Brocade switches and ansible

    Posted 09-05-2018 08:22 AM

    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?


    #BrocadeAutomationCommunity