Open SpasGeorgievv opened 2 years ago
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#
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
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
CONFIGURATION
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.
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.