Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't log into Switches #110

Closed
cesar-rickinho opened this issue Dec 22, 2021 · 7 comments
Closed

Can't log into Switches #110

cesar-rickinho opened this issue Dec 22, 2021 · 7 comments

Comments

@cesar-rickinho
Copy link

cesar-rickinho commented Dec 22, 2021

SUMMARY

I'm trying to use the dellemc.os10 module to connect to switches and collect some information from them.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

The SSH connection works fine, but when I trigger the job from AWX/Ansible Tower it fails with the error below

{
"unreachable": true,
"msg": "Failed to connect to the host via ssh: Warning: Permanently added 'xx.xx.xx.xx' (ECDSA) to the list of known hosts.\r\nwr /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\nSyntax error on line stdin:1 "/bin/sh -c 'echo ~admin && sleep 0'": Unknown command.",
"changed": false
}

I've made sure that all of the network ports are open, SSH works from that machine, I even get the error regardless of password or ssh keys.

ANSIBLE VERSION
Ansible Version = 2.9.17
COLLECTION VERSION
dellemc.os10 = 1.1.1
OS / ENVIRONMENT
Dell EMC Networking OS10 Enterprise
OS Version: 10.5.1.4
@prasadapr
Copy link
Collaborator

Possible please can you provide the following details:
show version of the OS10 device
ansible --version
playbook
inventory.yaml
cat /etc/ansible/ansible.cfg

@cesar-rickinho
Copy link
Author

cesar-rickinho commented Dec 24, 2021

Hi @prasadapr, here's the info requested:

Ansible Version = 2.9.17
Collection version: dellemc.os10 = 1.1.1
Swtich version: Dell EMC Networking OS10 Enterprise
OS Version: 10.5.1.4

It's a very simple playbook

- name: "Connect switch"
  dellemc.os10.os10_facts:
    gather_subset: all

I'm using AWX on docker, so the inventory and ansible.cfg files are handled by AWX/Tower.

@prasadapr
Copy link
Collaborator

prasadapr commented Jan 5, 2022

Hi @cesar-rickinho, as per your inputs created the environment and executed, its working.

Please follow the below steps, it should work:

  1. Check the SSH connectivity from AWX/Ansible machine to the switch/device.
    [root@cent7-vm-038-040 awx]# ssh admin@100.104.40.188
    The authenticity of host '100.104.40.188 (100.104.40.188)' can't be established.
    ECDSA key fingerprint is SHA256:VYoWWp3SM+ubbjP2kj3r/JcQpO5NZIRVEMmgLJq3Srw.
    ECDSA key fingerprint is MD5:50:04:75:ef:17:28:c6:72:2c:f2:66:95:97:61:6f:17.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '100.104.40.188' (ECDSA) to the list of known hosts.
    Debian GNU/Linux 9
    Dell EMC Networking Operating System (OS10)

  2. In /etc/ansible/ansible.cfg file, bydefault "host_key_checking" will be commented.
    we have to Uncomment it:
    host_key_checking = False

3.Create the inventory.yaml file

Ex:
[root@cent7-vm-038-040 awx]# cat inventory.yaml
leaf ansible_host=100.104.40.188 ansible_user=admin ansible_password=admin ansible_network_os=dellemc.os10.os10 ansible_connection=network_cli

[spineleaf]
leaf

[datacenter:children]
spineleaf

  1. Create the playbook: os10_awx-cant_log_into_Switch_110.yaml

[root@cent7-vm-038-040 awx]# cat os10_awx-cant_log_into_Switch_110.yaml

  • hosts: datacenter
    gather_facts: False
    connection: network_cli

    tasks:

    • name: "Connect switch"
      dellemc.os10.os10_facts:
      gather_subset: all
      register: facts

    • debug:
      msg: "{{ facts }}"
      [root@cent7-vm-038-040 awx]#

  1. Then execute the playbook:

[root@cent7-vm-038-040 awx]# ansible-playbook -i inventory.yaml os10_awx-cant_log_into_Switch_110.yaml

PLAY [datacenter] ***************************************************************************************************************************************************************************************************************

TASK [Connect switch] ***********************************************************************************************************************************************************************************************************
ok: [leaf]

TASK [debug] ********************************************************************************************************************************************************************************************************************
ok: [leaf] => {
"msg": {
"ansible_facts": {
"ansible_net_all_ipv4_addresses": [
"100.104.40.188/24"
],
"ansible_net_all_ipv6_addresses": [],
"ansible_net_config": "show running-configuration\n! Version 10.5.1.4\n! Last configuration change at Jan 03 16:37:24 2022\n!\nip vrf default\n!\nip telnet server enable\niscsi target port 860\niscsi target port 3260\nsystem-user linuxadmin password $6$5DdOHYg5$JCE1vMSmkQOrbh31U74PIPv7lyOgRmba1IxhkYibppMXs1KM4Y.gbTPcxyMP/PHUkMc5rdk/ZLv9Sfv3ALtB61\nusername admin password $6$q9QBeYjZ$jfxzVqGhkxX3smxJSH9DDz7/3OJc6m5wjF8nnLD7/VKx8SloIhp4NoGZs0I/UNwh8WVuxwfd9q4pWIgNs5BKH. 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.40.188/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!\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.40.254\nmanagement route 100.104.0.0/16 100.104.40.254\n!\nsnmp-server contact "Contact Support"\n!\ntelemetry",
"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:80:f6:d6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/10": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:df",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/11": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/12": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/13": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/14": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/15": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/16": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/17": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/18": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/19": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/2": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/20": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/21": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ea",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/22": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:eb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/23": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ec",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/24": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ed",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/25": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ee",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/26": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ef",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/27": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/28": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/29": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/3": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/30": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/31": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/32": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/33": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/34": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/35": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/36": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/37": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fa",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/38": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/39": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/4": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/40": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/41": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fe",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/42": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ff",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/43": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:00",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/44": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:01",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/45": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:02",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/46": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:03",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/47": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:04",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/48": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:05",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/49": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:06",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/5": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:da",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/50": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:0a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/51": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:0e",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/52": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:12",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/53": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:16",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/54": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:1a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/55": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:1e",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/56": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:22",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/6": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:db",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/7": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:dc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/8": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:dd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/9": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:de",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"mgmt1/1/1": {
"adminstatus": "up",
"bandwidth": "1000000000",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d5",
"mtu": "1532",
"operstatus": "up",
"primary_ipv4": "100.104.40.188/24",
"secondary_ipv4": "",
"type": "base-if:management"
},
"null0": {
"adminstatus": "up",
"bandwidth": "",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "",
"mtu": "",
"operstatus": "up",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "base-if:null"
},
"vlan1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "00:50:56:80:f7:76",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:l2vlan"
}
},
"ansible_net_memfree_mb": 1562,
"ansible_net_memtotal_mb": 3946,
"ansible_net_model": "S5248F-VM",
"ansible_net_name": "Enterprise",
"ansible_net_neighbors": {
"mgmt1/1/1": [
{
"host": "swlab2-maa-tor-A5",
"port": "ZXRoZXJuZXQxLzEvMQ=="
}
]
},
"ansible_net_servicetag": "OS10SIM",
"ansible_net_version": "10.5.1.4",
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"failed": false
}
}

PLAY RECAP **********************************************************************************************************************************************************************************************************************
leaf : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

[root@cent7-vm-038-040 awx]#

[root@cent7-vm-038-040 awx]# ansible --version
ansible 2.9.25
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Nov 16 2020, 22:23:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
[root@cent7-vm-038-040 awx]#

[root@cent7-vm-038-040 awx]#
[root@cent7-vm-038-040 awx]# ansible-playbook -i inventory.yaml os10_awx-cant_log_into_Switch_110.yaml -vvv
ansible-playbook 2.9.25
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Nov 16 2020, 22:23:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /root/awx/inventory.yaml as it did not pass its verify_file() method
script declined parsing /root/awx/inventory.yaml as it did not pass its verify_file() method
Parsed /root/awx/inventory.yaml inventory source with ini plugin
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: os10_awx-cant_log_into_Switch_110.yaml ********************************************************************************************************************************************************************************
1 plays in os10_awx-cant_log_into_Switch_110.yaml

PLAY [datacenter] ***************************************************************************************************************************************************************************************************************
META: ran handlers

TASK [Connect switch] ***********************************************************************************************************************************************************************************************************
task path: /root/awx/os10_awx-cant_log_into_Switch_110.yaml:7
<100.104.40.188> ESTABLISH LOCAL CONNECTION FOR USER: root
<100.104.40.188> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp/ansible-local-7712JdPhdx"&& mkdir "echo /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648" && echo ansible-tmp-1641398893.46-7721-58889296595648="echo /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648" ) && sleep 0'
Attempting python interpreter discovery
<100.104.40.188> EXEC /bin/sh -c 'echo PLATFORM; uname; echo FOUND; command -v '"'"'/usr/bin/python'"'"'; command -v '"'"'python3.7'"'"'; command -v '"'"'python3.6'"'"'; command -v '"'"'python3.5'"'"'; command -v '"'"'python2.7'"'"'; command -v '"'"'python2.6'"'"'; command -v '"'"'/usr/libexec/platform-python'"'"'; command -v '"'"'/usr/bin/python3'"'"'; command -v '"'"'python'"'"'; echo ENDFOUND && sleep 0'
<100.104.40.188> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
Using module file /root/.ansible/collections/ansible_collections/dellemc/os10/plugins/modules/os10_facts.py
<100.104.40.188> PUT /root/.ansible/tmp/ansible-local-7712JdPhdx/tmpSOmPEE TO /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648/AnsiballZ_os10_facts.py
<100.104.40.188> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648/ /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648/AnsiballZ_os10_facts.py && sleep 0'
<100.104.40.188> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648/AnsiballZ_os10_facts.py && sleep 0'
<100.104.40.188> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-7712JdPhdx/ansible-tmp-1641398893.46-7721-58889296595648/ > /dev/null 2>&1 && sleep 0'
ok: [leaf] => {
"ansible_facts": {
"ansible_net_all_ipv4_addresses": [
"100.104.40.188/24"
],
"ansible_net_all_ipv6_addresses": [],
"ansible_net_config": "show running-configuration\n! Version 10.5.1.4\n! Last configuration change at Jan 03 16:37:24 2022\n!\nip vrf default\n!\nip telnet server enable\niscsi target port 860\niscsi target port 3260\nsystem-user linuxadmin password $6$5DdOHYg5$JCE1vMSmkQOrbh31U74PIPv7lyOgRmba1IxhkYibppMXs1KM4Y.gbTPcxyMP/PHUkMc5rdk/ZLv9Sfv3ALtB61\nusername admin password $6$q9QBeYjZ$jfxzVqGhkxX3smxJSH9DDz7/3OJc6m5wjF8nnLD7/VKx8SloIhp4NoGZs0I/UNwh8WVuxwfd9q4pWIgNs5BKH. 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.40.188/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!\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.40.254\nmanagement route 100.104.0.0/16 100.104.40.254\n!\nsnmp-server contact "Contact Support"\n!\ntelemetry",
"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:80:f6:d6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/10": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:df",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/11": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/12": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/13": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/14": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/15": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/16": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/17": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/18": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/19": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/2": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/20": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/21": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ea",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/22": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:eb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/23": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ec",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/24": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ed",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/25": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ee",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/26": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ef",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/27": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/28": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/29": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/3": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/30": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/31": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/32": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/33": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/34": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/35": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/36": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/37": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fa",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/38": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/39": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/4": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/40": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/41": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fe",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/42": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ff",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/43": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:00",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/44": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:01",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/45": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:02",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/46": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:03",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/47": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:04",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/48": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:05",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/49": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:06",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/5": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:da",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/50": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:0a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/51": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:0e",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/52": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:12",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/53": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:16",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/54": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:1a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/55": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:1e",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/56": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:22",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/6": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:db",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/7": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:dc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/8": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:dd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/9": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:de",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"mgmt1/1/1": {
"adminstatus": "up",
"bandwidth": "1000000000",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d5",
"mtu": "1532",
"operstatus": "up",
"primary_ipv4": "100.104.40.188/24",
"secondary_ipv4": "",
"type": "base-if:management"
},
"null0": {
"adminstatus": "up",
"bandwidth": "",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "",
"mtu": "",
"operstatus": "up",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "base-if:null"
},
"vlan1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "00:50:56:80:f7:76",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:l2vlan"
}
},
"ansible_net_memfree_mb": 1562,
"ansible_net_memtotal_mb": 3946,
"ansible_net_model": "S5248F-VM",
"ansible_net_name": "Enterprise",
"ansible_net_neighbors": {
"mgmt1/1/1": [
{
"host": "swlab2-maa-tor-A5",
"port": "ZXRoZXJuZXQxLzEvMQ=="
}
]
},
"ansible_net_servicetag": "OS10SIM",
"ansible_net_version": "10.5.1.4",
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"invocation": {
"module_args": {
"gather_subset": [
"all"
],
"provider": null
}
}
}

TASK [debug] ********************************************************************************************************************************************************************************************************************
task path: /root/awx/os10_awx-cant_log_into_Switch_110.yaml:12
ok: [leaf] => {
"msg": {
"ansible_facts": {
"ansible_net_all_ipv4_addresses": [
"100.104.40.188/24"
],
"ansible_net_all_ipv6_addresses": [],
"ansible_net_config": "show running-configuration\n! Version 10.5.1.4\n! Last configuration change at Jan 03 16:37:24 2022\n!\nip vrf default\n!\nip telnet server enable\niscsi target port 860\niscsi target port 3260\nsystem-user linuxadmin password $6$5DdOHYg5$JCE1vMSmkQOrbh31U74PIPv7lyOgRmba1IxhkYibppMXs1KM4Y.gbTPcxyMP/PHUkMc5rdk/ZLv9Sfv3ALtB61\nusername admin password $6$q9QBeYjZ$jfxzVqGhkxX3smxJSH9DDz7/3OJc6m5wjF8nnLD7/VKx8SloIhp4NoGZs0I/UNwh8WVuxwfd9q4pWIgNs5BKH. 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.40.188/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!\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.40.254\nmanagement route 100.104.0.0/16 100.104.40.254\n!\nsnmp-server contact "Contact Support"\n!\ntelemetry",
"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:80:f6:d6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/10": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:df",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/11": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/12": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/13": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/14": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/15": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/16": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/17": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/18": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/19": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/2": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/20": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:e9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/21": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ea",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/22": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:eb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/23": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ec",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/24": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ed",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/25": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ee",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/26": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ef",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/27": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f0",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/28": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f1",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/29": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f2",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/3": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/30": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f3",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/31": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f4",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/32": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f5",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/33": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f6",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/34": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f7",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/35": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f8",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/36": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:f9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/37": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fa",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/38": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fb",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/39": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/4": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d9",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/40": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/41": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:fe",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/42": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:ff",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/43": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:00",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/44": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:01",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/45": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:02",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/46": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:03",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/47": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:04",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/48": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:05",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/49": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:06",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/5": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:da",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/50": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:0a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/51": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:0e",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/52": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:12",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/53": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:16",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/54": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:1a",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/55": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:1e",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/56": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f7:22",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/6": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:db",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/7": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:dc",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/8": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:dd",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"ethernet1/1/9": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:de",
"mediatype": "",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:ethernetCsmacd"
},
"mgmt1/1/1": {
"adminstatus": "up",
"bandwidth": "1000000000",
"description": "",
"duplex": "auto",
"ipv6": [],
"macaddress": "00:50:56:80:f6:d5",
"mtu": "1532",
"operstatus": "up",
"primary_ipv4": "100.104.40.188/24",
"secondary_ipv4": "",
"type": "base-if:management"
},
"null0": {
"adminstatus": "up",
"bandwidth": "",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "",
"mtu": "",
"operstatus": "up",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "base-if:null"
},
"vlan1": {
"adminstatus": "up",
"bandwidth": "0",
"description": "",
"duplex": "",
"ipv6": [],
"macaddress": "00:50:56:80:f7:76",
"mtu": "",
"operstatus": "down",
"primary_ipv4": "",
"secondary_ipv4": "",
"type": "ianaift:l2vlan"
}
},
"ansible_net_memfree_mb": 1562,
"ansible_net_memtotal_mb": 3946,
"ansible_net_model": "S5248F-VM",
"ansible_net_name": "Enterprise",
"ansible_net_neighbors": {
"mgmt1/1/1": [
{
"host": "swlab2-maa-tor-A5",
"port": "ZXRoZXJuZXQxLzEvMQ=="
}
]
},
"ansible_net_servicetag": "OS10SIM",
"ansible_net_version": "10.5.1.4",
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"failed": false
}
}
META: ran handlers
META: ran handlers

PLAY RECAP **********************************************************************************************************************************************************************************************************************
leaf : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

[root@cent7-vm-038-040 awx]#

@prasadapr
Copy link
Collaborator

In the above the alignment was changed, that's why sharing again for easy readability:

---
- hosts: datacenter
  gather_facts: False
  connection: network_cli

  tasks:
   - name: "Connect switch"
     dellemc.os10.os10_facts:
       gather_subset: all
     register: facts

   - debug:
       msg: "{{ facts }}"

@prasadapr
Copy link
Collaborator

@cesar-rickinho, by any chance have you tried this issue with provided configs.
if its working, shall we close this issue?

@prasadapr
Copy link
Collaborator

@cesar-rickinho,shall we close this issue?

@cesar-rickinho
Copy link
Author

Yes please, I was not able to properly troubleshoot the issue, but I believe that it's not with the module, most likely on my AWX setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants