Module is failing to collect facts from OS10 switch.
SUMMARY
When trying to gather facts from on OS10 device the module fails. First suspected the MOTD and login banners but it still fails after removing them.
ISSUE TYPE
- Bug Report
COMPONENT NAME
os10, os10_facts
ANSIBLE VERSION
config file = /private/etc/ansible/ansible.cfg configured module search path = ['/Users/gspas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible ansible collection location = /Users/gspas/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.10.2 (main, Feb 2 2022, 08:42:42) [Clang 13.0.0 (clang-1300.0.29.3)] jinja version = 3.0.3 libyaml = True
COLLECTION VERSION
Collection Version
------------ -------
dellemc.os10 1.1.1
# /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible_collections
Collection Version
------------ -------
dellemc.os10 1.1.1
CONFIGURATION
INVENTORY_ENABLED(/private/etc/ansible/ansible.cfg) = ['yaml', 'ini']
NETWORK_GROUP_MODULES(env: ANSIBLE_NETWORK_GROUP_MODULES) = ['os10']
OS / ENVIRONMENT
Dell EMC Networking OS10 Enterprise Copyright (c) 1999-2021 by Dell Inc. All Rights Reserved. OS Version: 10.5.2.6 Build Version: 10.5.2.6.337 Build Time: 2021-06-04T11:47:31+0000 System Type: S5224F-ON Architecture: x86_64
STEPS TO REPRODUCE
When trying to gather the facts from the device and an identical one, the playbook fails. Before that the device is dynamically added to the inventory, but the same behaviour is seen with it being defined statically.
---
- name: Dell ZTD test playbook
hosts: localhost
tasks:
- name: Create a file called '/tmp/testfile.txt' with the content.
copy:
content: "{{ operating_system }} switch with IP {{ ip }} and SN: {{ serial_number }} detected. The device is an {{ device_role }} switch with a hostname {{ target }}"
dest: /tmp/testfile.txt
- name: Add host to inventory
hosts: localhost
connection: local
tasks:
- name: Adding Dell switch to in-memory inventory
add_host:
name: '{{ ip }}'
groups: dell
- name: Dell Gather facts test playbook
hosts: dell
tasks:
- name: Gather facts from Dell OS 10 device.
dellemc.os10.os10_facts:
gather_subset: all
register: facts
- name: Output facts
debug:
var: facts
EXPECTED RESULTS
For the playbook to gather facts successfully which will allow for further tasks to be added to configure the device.
ACTUAL RESULTS
The SSH connection fails to the device with not much to go on as to why. Normal SSH via the terminal is fine.
ansible-playbook [core 2.12.2]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/Users/gspas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible
ansible collection location = /Users/gspas/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible-playbook
python version = 3.10.2 (main, Feb 2 2022, 08:42:42) [Clang 13.0.0 (clang-1300.0.29.3)]
jinja version = 3.0.3
libyaml = True
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
Skipping empty key (hosts) in group (dell)
Parsed /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/inventory.yml inventory source with yaml plugin
Loading collection dellemc.os10 from /Users/gspas/.ansible/collections/ansible_collections/dellemc/os10
redirecting (type: action) dellemc.os10.os10_facts to dellemc.os10.os10
Loading callback plugin default of type stdout, v2.0 from /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible/plugins/callback/default.py
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
PLAYBOOK: deploy.yml ******************************************************************************************************************************************************************
Positional arguments: /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml
verbosity: 4
connection: smart
timeout: 10
become_method: sudo
tags: ('all',)
inventory: ('/Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/inventory.yml',)
extra_vars: ('target=sc2-99-r02lsw-acc01', 'ip=10.175.19.237', 'serial_number=GW310Q2', 'operating_system=OS10', 'device_role=TOR')
forks: 5
3 plays in /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml
PLAY [Dell ZTD test playbook] *********************************************************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************************************************************
task path: /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml:12
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: gspas
<127.0.0.1> EXEC /bin/sh -c 'echo ~gspas && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/gspas/.ansible/tmp `"&& mkdir "` echo /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480 `" && echo ansible-tmp-1656503370.91307-69664-38367514443480="` echo /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480 `" ) && sleep 0'
Using module file /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible/modules/setup.py
<127.0.0.1> PUT /Users/gspas/.ansible/tmp/ansible-local-69661cotz3z8q/tmp07bmgd0s TO /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480/AnsiballZ_setup.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480/ /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/local/Cellar/ansible/5.3.0/libexec/bin/python3.10 /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/gspas/.ansible/tmp/ansible-tmp-1656503370.91307-69664-38367514443480/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
META: ran handlers
TASK [Create a file called '/tmp/testfile.txt' with the content.] *********************************************************************************************************************
task path: /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml:15
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: gspas
<127.0.0.1> EXEC /bin/sh -c 'echo ~gspas && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/gspas/.ansible/tmp `"&& mkdir "` echo /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923 `" && echo ansible-tmp-1656503372.118057-69699-18276576163923="` echo /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923 `" ) && sleep 0'
Using module file /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible/modules/stat.py
<127.0.0.1> PUT /Users/gspas/.ansible/tmp/ansible-local-69661cotz3z8q/tmpfih6vu60 TO /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/AnsiballZ_stat.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/ /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/local/Cellar/ansible/5.3.0/libexec/bin/python3.10 /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/AnsiballZ_stat.py && sleep 0'
Using module file /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible/modules/file.py
<127.0.0.1> PUT /Users/gspas/.ansible/tmp/ansible-local-69661cotz3z8q/tmpbk1c8src TO /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/ /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/local/Cellar/ansible/5.3.0/libexec/bin/python3.10 /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/gspas/.ansible/tmp/ansible-tmp-1656503372.118057-69699-18276576163923/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"checksum": "414cc24227f3c0845afdc01c4ba4efa39ee89ec9",
"dest": "/tmp/testfile.txt",
"diff": {
"after": {
"path": "/tmp/testfile.txt"
},
"before": {
"path": "/tmp/testfile.txt"
}
},
"gid": 20,
"group": "staff",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": "tmpsw47ls1v",
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"dest": "/tmp/testfile.txt",
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/tmp/testfile.txt",
"recurse": false,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "file",
"unsafe_writes": false
}
},
"mode": "0644",
"owner": "gspas",
"path": "/tmp/testfile.txt",
"size": 123,
"state": "file",
"uid": 502
}
META: ran handlers
META: ran handlers
PLAY [Add host to inventory] **********************************************************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************************************************************
task path: /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml:20
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: gspas
<127.0.0.1> EXEC /bin/sh -c 'echo ~gspas && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/gspas/.ansible/tmp `"&& mkdir "` echo /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646 `" && echo ansible-tmp-1656503373.0022662-69727-48617262311646="` echo /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646 `" ) && sleep 0'
Using module file /usr/local/Cellar/ansible/5.3.0/libexec/lib/python3.10/site-packages/ansible/modules/setup.py
<127.0.0.1> PUT /Users/gspas/.ansible/tmp/ansible-local-69661cotz3z8q/tmpcmceid5l TO /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646/AnsiballZ_setup.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646/ /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/local/Cellar/ansible/5.3.0/libexec/bin/python3.10 /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/gspas/.ansible/tmp/ansible-tmp-1656503373.0022662-69727-48617262311646/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
META: ran handlers
TASK [Adding Dell switch to in-memory inventory] **************************************************************************************************************************************
task path: /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml:24
creating host via 'add_host': hostname=10.175.19.237
changed: [localhost] => {
"add_host": {
"groups": [
"dell"
],
"host_name": "10.175.19.237",
"host_vars": {}
},
"changed": true
}
META: ran handlers
META: ran handlers
PLAY [Dell Gather facts test playbook] ************************************************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************************************************************
task path: /Users/gspas/Documents/dcns/dell_vlt_automation/dell_vlt_automation/deploy.yml:29
<10.175.19.237> ESTABLISH SSH CONNECTION FOR USER: admin
<10.175.19.237> SSH: EXEC sshpass -d48 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=30m -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=10 -o 'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"' 10.175.19.237 '/bin/sh -c '"'"'echo ~admin && sleep 0'"'"''
<10.175.19.237> (255, b'', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/gspas/.ssh/config\r\ndebug1: /Users/gspas/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.175.19.237 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 64629\r\ndebug3: mux_client_request_session: session request sent\r\nSyntax error on line stdin:1 "/bin/sh -c \'echo ~admin && sleep 0\'": Unknown command.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 255\r\n')
<10.175.19.237> ssh_retry: attempt: 1, ssh return code is 255. cmd ([b'sshpass', b'-d48', b'ssh', b'-vvv', b'-C', b'-o', b'ControlMaster=auto', b'-o', b'ControlPersist=30m', b'-o', b'StrictHostKeyChecking=no', b'-o', b'User="admin"', b'-o', b'ConnectTimeout=10', b'-o', b'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"', b'10.175.19.237', b"/bin/sh -c 'echo ~admin && sleep 0'"]...), pausing for 0 seconds
<10.175.19.237> SSH: EXEC sshpass -d48 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=30m -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=10 -o 'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"' 10.175.19.237 '/bin/sh -c '"'"'echo ~admin && sleep 0'"'"''
<10.175.19.237> (255, b'', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/gspas/.ssh/config\r\ndebug1: /Users/gspas/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.175.19.237 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 64629\r\ndebug3: mux_client_request_session: session request sent\r\nSyntax error on line stdin:1 "/bin/sh -c \'echo ~admin && sleep 0\'": Unknown command.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 255\r\n')
<10.175.19.237> ssh_retry: attempt: 2, ssh return code is 255. cmd ([b'sshpass', b'-d48', b'ssh', b'-vvv', b'-C', b'-o', b'ControlMaster=auto', b'-o', b'ControlPersist=30m', b'-o', b'StrictHostKeyChecking=no', b'-o', b'User="admin"', b'-o', b'ConnectTimeout=10', b'-o', b'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"', b'10.175.19.237', b"/bin/sh -c 'echo ~admin && sleep 0'"]...), pausing for 1 seconds
<10.175.19.237> SSH: EXEC sshpass -d48 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=30m -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=10 -o 'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"' 10.175.19.237 '/bin/sh -c '"'"'echo ~admin && sleep 0'"'"''
<10.175.19.237> (255, b'', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/gspas/.ssh/config\r\ndebug1: /Users/gspas/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.175.19.237 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 64629\r\ndebug3: mux_client_request_session: session request sent\r\nSyntax error on line stdin:1 "/bin/sh -c \'echo ~admin && sleep 0\'": Unknown command.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 255\r\n')
<10.175.19.237> ssh_retry: attempt: 3, ssh return code is 255. cmd ([b'sshpass', b'-d48', b'ssh', b'-vvv', b'-C', b'-o', b'ControlMaster=auto', b'-o', b'ControlPersist=30m', b'-o', b'StrictHostKeyChecking=no', b'-o', b'User="admin"', b'-o', b'ConnectTimeout=10', b'-o', b'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"', b'10.175.19.237', b"/bin/sh -c 'echo ~admin && sleep 0'"]...), pausing for 3 seconds
<10.175.19.237> SSH: EXEC sshpass -d48 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=30m -o StrictHostKeyChecking=no -o 'User="admin"' -o ConnectTimeout=10 -o 'ControlPath="/Users/gspas/.ansible/cp/023f76c81a"' 10.175.19.237 '/bin/sh -c '"'"'echo ~admin && sleep 0'"'"''
<10.175.19.237> (255, b'', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/gspas/.ssh/config\r\ndebug1: /Users/gspas/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.175.19.237 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 64629\r\ndebug3: mux_client_request_session: session request sent\r\nSyntax error on line stdin:1 "/bin/sh -c \'echo ~admin && sleep 0\'": Unknown command.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 255\r\n')
fatal: [10.175.19.237]: UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/gspas/.ssh/config\r\ndebug1: /Users/gspas/.ssh/config line 1: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 10.175.19.237 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 64629\r\ndebug3: mux_client_request_session: session request sent\r\nSyntax error on line stdin:1 \"/bin/sh -c 'echo ~admin && sleep 0'\": Unknown command.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 255",
"unreachable": true
}
PLAY RECAP ****************************************************************************************************************************************************************************
10.175.19.237 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
localhost : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Hi @SpasGeorgievv, Just now gone the playbook and execution log. The issue was with the playbook. I have modified the playbook which you have created and executed, its working fine. Pls find the enclosed playbook and execution log:
Playbook:
root@ubuntu22-vm-38-27:~/OS10-Collections# cat issue-131.yaml
---
- name: Dell Gather facts test playbook
hosts: leaf1
gather_facts: false
connection: network_cli
collections:
- dellemc.os10
tasks:
- name: Create a file called '/tmp/testfile.txt' with the content.
copy:
content: "{{ operating_system }} switch with IP {{ ip }} and SN: {{ serial_number }} detected. The device is an {{ device_role }} switch with a hostname {{ target }}"
dest: /tmp/testfile.txt
tasks:
- name: Adding Dell switch to in-memory inventory
add_host:
name: '{{ ip }}'
groups: dell
tasks:
- name: Gather facts from Dell OS 10 device.
dellemc.os10.os10_facts:
gather_subset: all
register: facts
- name: Output facts
debug:
var: facts
root@ubuntu22-vm-38-27:~/OS10-Collections#
Pls find the execution log
root@ubuntu22-vm-38-27:~/OS10-Collections# ansible-playbook -i inventory.yaml issue-131.yaml -vvv
ansible-playbook [core 2.14.0]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.10/dist-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible-playbook
python version = 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] (/usr/bin/python3)
jinja version = 3.0.3
libyaml = True
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /root/OS10-Collections/inventory.yaml as it did not pass its verify_file() method
script declined parsing /root/OS10-Collections/inventory.yaml as it did not pass its verify_file() method
Parsed /root/OS10-Collections/inventory.yaml inventory source with ini plugin
[WARNING]: While constructing a mapping from /root/OS10-Collections/issue-131.yaml, line 2, column 3, found a duplicate dict key (tasks). Using last defined
value only.
redirecting (type: action) dellemc.os10.os10_facts to dellemc.os10.os10
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
[WARNING]: Skipping callback plugin 'profile_tasks', unable to load
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
PLAYBOOK: issue-131.yaml ************************************************************************************************************************************
1 plays in issue-131.yaml
PLAY [Dell Gather facts test playbook] **********************************************************************************************************************
redirecting (type: action) dellemc.os10.os10_facts to dellemc.os10.os10
TASK [Gather facts from Dell OS 10 device.] *****************************************************************************************************************
task path: /root/OS10-Collections/issue-131.yaml:22
redirecting (type: connection) ansible.builtin.network_cli to ansible.netcommon.network_cli
redirecting (type: action) dellemc.os10.os10_facts to dellemc.os10.os10
redirecting (type: action) dellemc.os10.os10_facts to dellemc.os10.os10
<100.104.94.221> ESTABLISH LOCAL CONNECTION FOR USER: root
<100.104.94.221> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-local-1901579h6nh7bws `"&& mkdir "` echo /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060 `" && echo ansible-tmp-1700556853.2321112-1901585-18160239085060="` echo /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060 `" ) && sleep 0'
Using module file /root/.ansible/collections/ansible_collections/dellemc/os10/plugins/modules/os10_facts.py
<100.104.94.221> PUT /root/.ansible/tmp/ansible-local-1901579h6nh7bws/tmprxw7sw6t TO /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060/AnsiballZ_os10_facts.py
<100.104.94.221> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060/ /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060/AnsiballZ_os10_facts.py && sleep 0'
<100.104.94.221> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060/AnsiballZ_os10_facts.py && sleep 0'
<100.104.94.221> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-1901579h6nh7bws/ansible-tmp-1700556853.2321112-1901585-18160239085060/ > /dev/null 2>&1 && sleep 0'
ok: [leaf1] => {
"ansible_facts": {
"ansible_net_all_ipv4_addresses": [
"100.104.94.221/24"
],
"ansible_net_all_ipv6_addresses": [],
"ansible_net_config": "show running-configuration\n! Version 10.5.5.5P1\n! Last configuration change at Apr 25 06:47:32 2025\n!\nip vrf default\n!\nsync-e mode ql-enabled\niscsi target port 860\niscsi target port 3260\nclock timezone standard-timezone Europe/London\ncrypto fips enable\nsystem-user linuxadmin password ****\nusername admin password **** role sysadmin priv-lvl 15\naaa authentication login default local\naaa authentication login console local\n!\nclass-map type application class-iscsi\n!\npolicy-map type application policy-iscsi\n!\nport-group 1/1/1\n mode Eth 25g-4x\n!\nport-group 1/1/2\n mode Eth 25g-4x\n!\nport-group 1/1/3\n mode Eth 25g-4x\n!\nport-group 1/1/4\n mode Eth 25g-4x\n!\nport-group 1/1/5\n mode Eth 25g-4x\n!\nport-group 1/1/6\n mode Eth 25g-4x\n!\nport-group 1/1/7\n mode Eth 25g-4x\n!\nport-group 1/1/8\n mode Eth 25g-4x\n!\nport-group 1/1/9\n mode Eth 25g-4x\n!\nport-group 1/1/10\n mode Eth 25g-4x\n!\nport-group 1/1/11\n mode Eth 25g-4x\n!\nport-group 1/1/12\n mode Eth 25g-4x\n!\nport-group 1/1/13\n mode Eth 100g-2x\n!\nport-group 1/1/14\n mode Eth 100g-2x\n!\nport-group 1/1/15\n mode Eth 100g-1x\n!\nport-group 1/1/16\n mode Eth 100g-1x\n!\nport-group 1/1/17\n mode Eth 100g-1x\n!\nport-group 1/1/18\n mode Eth 100g-1x\n!\ninterface vlan1\n no shutdown\n!\ninterface mgmt1/1/1\n no shutdown\n no ip address dhcp\n ip address 100.104.94.221/24\n ipv6 address autoconfig\n!\ninterface ethernet1/1/1\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/2\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/3\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/4\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/5\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/6\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/7\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/8\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/9\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/10\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/11\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/12\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/13\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n sync-e enable\n sync-e esmc tx-only\n ptp enable\n ptp transport layer2\n!\ninterface ethernet1/1/14\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/15\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/16\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/17\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/18\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/19\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/20\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/21\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/22\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/23\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/24\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/25\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/26\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/27\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/28\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/29\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/30\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/31\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/32\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/33\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/34\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/35\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/36\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/37\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/38\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/39\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/40\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/41\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/42\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/43\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/44\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/45\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/46\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/47\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/48\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/49\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/50\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/51\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/52\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/53\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/54\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/55\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/56\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\nmanagement route 0.0.0.0/0 100.104.94.254\n!\nvlt-domain 2\n!\nsnmp-server contact \"Contact Support\"\n!\ntelemetry\n!\ncrypto security-profile dell",
"ansible_net_cpu_arch": "x86_64",
"ansible_net_gather_subset": [
"hardware",
"default",
"interfaces",
"config"
],
"ansible_net_hostname": "OS10",
"ansible_net_interfaces": {
"ethernet1/1/1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:7f",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/10": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/11": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/12": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/13": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/14": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/15": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/16": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ea",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/17": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:eb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/18": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ec",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/19": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ed",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/2": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:dc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/20": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ee",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/21": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ef",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/22": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/23": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/24": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/25": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/26": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/27": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/28": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/29": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/3": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:dd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/30": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/31": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/32": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fa",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/33": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/34": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/35": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/36": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fe",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/37": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ff",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/38": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:00",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/39": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:01",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/4": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:de",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/40": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:02",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/41": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:03",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/42": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:04",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/43": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:05",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/44": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:06",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/45": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:07",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/46": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:08",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/47": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:09",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/48": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:0a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/49": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:0b",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/5": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:df",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/50": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:0f",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/51": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:13",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/52": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:17",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/53": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:1b",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/54": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:1f",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/55": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:23",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/56": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:27",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/6": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/7": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/8": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/9": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"mgmt1/1/1": {
"adminstatus": "up",
"bandwidth": "1000000000",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:da",
"mtu": "1532",
"operstatus": "up",
"primary_ipv4": "100.104.94.221/24",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "base-if:management"
},
"null0": {
"adminstatus": "up",
"bandwidth": "",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "",
"mtu": "",
"operstatus": "up",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "",
"type": "base-if:null"
},
"vlan1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:7b",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "",
"type": "ianaift:l2vlan"
}
},
"ansible_net_memfree_mb": 837,
"ansible_net_memtotal_mb": 3935,
"ansible_net_model": "S5248F-VM",
"ansible_net_name": "Enterprise",
"ansible_net_neighbors": {
"mgmt1/1/1": [
{
"host": "swlab3-maa-tor-J3",
"port": "ZXRoZXJuZXQxLzEvMQ=="
}
]
},
"ansible_net_servicetag": "V9B4CDA",
"ansible_net_version": "10.5.5.5P1"
},
"changed": false,
"invocation": {
"module_args": {
"gather_subset": [
"all"
],
"provider": null
}
}
}
TASK [Output facts] *****************************************************************************************************************************************
task path: /root/OS10-Collections/issue-131.yaml:26
redirecting (type: connection) ansible.builtin.network_cli to ansible.netcommon.network_cli
ok: [leaf1] => {
"facts": {
"ansible_facts": {
"ansible_net_all_ipv4_addresses": [
"100.104.94.221/24"
],
"ansible_net_all_ipv6_addresses": [],
"ansible_net_config": "show running-configuration\n! Version 10.5.5.5P1\n! Last configuration change at Apr 25 06:47:32 2025\n!\nip vrf default\n!\nsync-e mode ql-enabled\niscsi target port 860\niscsi target port 3260\nclock timezone standard-timezone Europe/London\ncrypto fips enable\nsystem-user linuxadmin password ****\nusername admin password **** role sysadmin priv-lvl 15\naaa authentication login default local\naaa authentication login console local\n!\nclass-map type application class-iscsi\n!\npolicy-map type application policy-iscsi\n!\nport-group 1/1/1\n mode Eth 25g-4x\n!\nport-group 1/1/2\n mode Eth 25g-4x\n!\nport-group 1/1/3\n mode Eth 25g-4x\n!\nport-group 1/1/4\n mode Eth 25g-4x\n!\nport-group 1/1/5\n mode Eth 25g-4x\n!\nport-group 1/1/6\n mode Eth 25g-4x\n!\nport-group 1/1/7\n mode Eth 25g-4x\n!\nport-group 1/1/8\n mode Eth 25g-4x\n!\nport-group 1/1/9\n mode Eth 25g-4x\n!\nport-group 1/1/10\n mode Eth 25g-4x\n!\nport-group 1/1/11\n mode Eth 25g-4x\n!\nport-group 1/1/12\n mode Eth 25g-4x\n!\nport-group 1/1/13\n mode Eth 100g-2x\n!\nport-group 1/1/14\n mode Eth 100g-2x\n!\nport-group 1/1/15\n mode Eth 100g-1x\n!\nport-group 1/1/16\n mode Eth 100g-1x\n!\nport-group 1/1/17\n mode Eth 100g-1x\n!\nport-group 1/1/18\n mode Eth 100g-1x\n!\ninterface vlan1\n no shutdown\n!\ninterface mgmt1/1/1\n no shutdown\n no ip address dhcp\n ip address 100.104.94.221/24\n ipv6 address autoconfig\n!\ninterface ethernet1/1/1\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/2\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/3\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/4\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/5\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/6\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/7\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/8\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/9\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/10\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/11\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/12\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/13\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n sync-e enable\n sync-e esmc tx-only\n ptp enable\n ptp transport layer2\n!\ninterface ethernet1/1/14\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/15\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/16\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/17\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/18\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/19\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/20\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/21\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/22\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/23\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/24\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/25\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/26\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/27\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/28\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/29\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/30\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/31\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/32\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/33\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/34\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/35\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/36\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/37\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/38\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/39\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/40\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/41\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/42\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/43\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/44\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/45\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/46\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/47\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/48\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/49\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/50\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/51\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/52\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/53\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/54\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/55\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\ninterface ethernet1/1/56\n no shutdown\n switchport access vlan 1\n flowcontrol receive off\n!\nmanagement route 0.0.0.0/0 100.104.94.254\n!\nvlt-domain 2\n!\nsnmp-server contact \"Contact Support\"\n!\ntelemetry\n!\ncrypto security-profile dell",
"ansible_net_cpu_arch": "x86_64",
"ansible_net_gather_subset": [
"hardware",
"default",
"interfaces",
"config"
],
"ansible_net_hostname": "OS10",
"ansible_net_interfaces": {
"ethernet1/1/1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:7f",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/10": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/11": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/12": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/13": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/14": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/15": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/16": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ea",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/17": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:eb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/18": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ec",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/19": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ed",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/2": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:dc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/20": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ee",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/21": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ef",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/22": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/23": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/24": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/25": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/26": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/27": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/28": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/29": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/3": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:dd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/30": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/31": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:f9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/32": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fa",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/33": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/34": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/35": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/36": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:fe",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/37": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:ff",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/38": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:00",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/39": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:01",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/4": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:de",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/40": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:02",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/41": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:03",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/42": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:04",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/43": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:05",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/44": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:06",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/45": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:07",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/46": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:08",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/47": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:09",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/48": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:0a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/49": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:0b",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/5": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:df",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/50": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:0f",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/51": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:13",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/52": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:17",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/53": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:1b",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/54": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:1f",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/55": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:23",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/56": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:27",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/6": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/7": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/8": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/9": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:e3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "ianaift:ethernetCsmacd"
},
"mgmt1/1/1": {
"adminstatus": "up",
"bandwidth": "1000000000",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:9b:4c:da",
"mtu": "1532",
"operstatus": "up",
"primary_ipv4": "100.104.94.221/24",
"secondary_ipv4": "",
"speed": "AUTO",
"type": "base-if:management"
},
"null0": {
"adminstatus": "up",
"bandwidth": "",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "",
"mtu": "",
"operstatus": "up",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "",
"type": "base-if:null"
},
"vlan1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "00:50:56:9b:4d:7b",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"speed": "",
"type": "ianaift:l2vlan"
}
},
"ansible_net_memfree_mb": 837,
"ansible_net_memtotal_mb": 3935,
"ansible_net_model": "S5248F-VM",
"ansible_net_name": "Enterprise",
"ansible_net_neighbors": {
"mgmt1/1/1": [
{
"host": "swlab3-maa-tor-J3",
"port": "ZXRoZXJuZXQxLzEvMQ=="
}
]
},
"ansible_net_servicetag": "V9B4CDA",
"ansible_net_version": "10.5.5.5P1"
},
"changed": false,
"failed": false
}
}
PLAY RECAP **************************************************************************************************************************************************
leaf1 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
root@ubuntu22-vm-38-27:~/OS10-Collections#