A

4 Messages

 • 

112 Points

Mon, Dec 7, 2020 6:27 PM

Is there ansible support for ZoneDirector 3000?

Hi! Is there ansible support for ZoneDirector 3000?

I could use ansible with the icx module for Brocade Devices (7150 and 7250) but when I tried the same icx module for a ZD3000 I get an error. Is the ICX module supposed to support ZD3000? If not, which module would be used for ZD3000? Or is there no support?

4 Messages

 • 

112 Points

1 y ago

For reference:

Error:


{
    "changed": false,
    "invocation": {
        "module_args": {
            "gather_subset": [
                "interfaces"
            ]
        }
    },
    "msg": "'NoneType' object has no attribute 'endswith'"
}

Playbook.yml

- hosts: ruckus
  vars:
    ansible_network_os: icx
    ansible_become: True
    ansible_become_method: enable
    ansible_command_timeout: 300

  tasks:

    - name: Collect the interfaces facts
      icx_facts:
        gather_subset:
          - interfaces
      register: result

Ansible.cfg

[defaults]
transport = network_cli
inventory = hosts.ini
host_key_checking = False
interpreter_python=/usr/bin/python3

(edited)

Official Rep

 • 

332 Messages

 • 

5.1K Points

Sorry,  there is no ansible support on the ZoneDirector series.

Kind regards

Martin

Important Announcement