{"id":50385100,"url":"https://github.com/stackhpc/dell-powerconnect-switch","last_synced_at":"2026-05-30T14:30:59.238Z","repository":{"id":37750407,"uuid":"136032947","full_name":"stackhpc/dell-powerconnect-switch","owner":"stackhpc","description":"Ansible role for managing Dell PowerConnect switches","archived":false,"fork":false,"pushed_at":"2023-10-31T13:17:38.000Z","size":30,"stargazers_count":18,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T13:50:58.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackhpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-04T13:56:38.000Z","updated_at":"2025-03-11T20:31:43.000Z","dependencies_parsed_at":"2025-04-08T14:03:15.704Z","dependency_job_id":null,"html_url":"https://github.com/stackhpc/dell-powerconnect-switch","commit_stats":null,"previous_names":["stackhpc/ansible-role-dell-powerconnect-switch"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/stackhpc/dell-powerconnect-switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdell-powerconnect-switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdell-powerconnect-switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdell-powerconnect-switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdell-powerconnect-switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackhpc","download_url":"https://codeload.github.com/stackhpc/dell-powerconnect-switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdell-powerconnect-switch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33696681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-30T14:30:58.538Z","updated_at":"2026-05-30T14:30:59.224Z","avatar_url":"https://github.com/stackhpc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Dell PowerConnect Switch\n========================\n\nThis role configures Dell PowerConnect switches using the\n[expect](http://docs.ansible.com/ansible/latest/modules/expect_module.html)\nAnsible module.\n\nThis role will install the python `expect` package to the system site packages\non the local machine.\n\nRequirements\n------------\n\nThe switches should be configured to allow SSH access.\n\nRole Variables\n--------------\n\n`dell_powerconnect_switch_provider` is authentication provider information,\nsimilar to the `provider` argument to the `dellos` modules. It should be a dict\ncontaining the following fields:\n\n- `host`: the host or IP address of the switch.\n- `username`: the username with which to access the switch via SSH.\n- `auth_pass`: the password with which to authenticate.\n\n`dell_powerconnect_switch_config` is a list of configuration lines to apply to\nthe switch, and defaults to an empty list.\n\n`dell_powerconnect_switch_interface_config` contains interface configuration.\nIt is a dict mapping switch interface names to configuration dicts. Each dict\nmay contain the following items:\n\n- `description` - a description to apply to the interface.\n- `name` - a name to apply to the vlan interface, if you're configuring a vlan.\n- `config` - a list of per-interface configuration.\n\n`dell_powerconnect_switch_write_memory` is a boolean flag, which when set to true, \nwill save the switch's running configuration to the startup configuration file, \nafter the role applies its configuration. This will allow the configuration to \npersist after a restart or power failure. By default, this option is set to false. \n\n`dell_powerconnect_switch_write_command` is the command which is run when the flag \ndell_powerconnect_switch_write_memory is set to true. The default command is \n\"write memory\". \n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n\nThe following playbook configures hosts in the `dell-powerconnect-switches`\ngroup.  It assumes host variables for each switch holding the host, username\nand passwords.  It applies global configuration for LLDP, enables two 10G\nethernet interfaces as switchports, and saves the configuration changes to\nmemory. \n\n    ---\n    - name: Ensure Dell PowerConnect switches are configured\n      hosts: dell-powerconnect-switches\n      gather_facts: no\n      roles:\n        - role: dell-powerconnect-switch\n          dell_powerconnect_switch_write_memory: yes\n          dell_powerconnect_switch_provider:\n            host: \"{{ switch_host }}\"\n            username: \"{{ switch_user }}\"\n            password: \"{{ switch_password }}\"\n            transport: cli\n            authorize: yes\n            auth_pass: \"{{ switch_auth_pass }}\"\n          dell_powerconnect_switch_config:\n            - \"protocol lldp\"\n            - \" advertise dot3-tlv max-frame-size\"\n            - \" advertise management-tlv management-address system-description system-name\"\n            - \" advertise interface-port-desc\"\n            - \" no disable\"\n            - \" exit\"\n          dell_powerconnect_switch_interface_config:\n            Te1/1/1:\n              description: server-1\n              config:\n                - \"no shutdown\"\n                - \"switchport\"\n            Te1/1/2:\n              description: server-2\n              config:\n                - \"no shutdown\"\n                - \"switchport\"\n            \"vlan 1234\":\n              name: \"mytestvlan\"\n              config:\n                - \"ip address 192.168.1.254 255.255.255.0\"\n\nAuthor Information\n------------------\n\n- Mark Goddard (\u003cmark@stackhpc.com\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fdell-powerconnect-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackhpc%2Fdell-powerconnect-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fdell-powerconnect-switch/lists"}