{"id":50385200,"url":"https://github.com/stackhpc/drac","last_synced_at":"2026-05-30T14:31:08.789Z","repository":{"id":37767432,"uuid":"76951710","full_name":"stackhpc/drac","owner":"stackhpc","description":" Ansible role for DRAC BIOS and RAID configuration","archived":false,"fork":false,"pushed_at":"2022-08-03T08:01:49.000Z","size":60,"stargazers_count":11,"open_issues_count":2,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T22:50:20.082Z","etag":null,"topics":["ansible","drac","raid"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2016-12-20T11:41:31.000Z","updated_at":"2023-12-14T02:31:24.000Z","dependencies_parsed_at":"2022-09-14T08:50:18.851Z","dependency_job_id":null,"html_url":"https://github.com/stackhpc/drac","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/stackhpc/drac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdrac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdrac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdrac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdrac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackhpc","download_url":"https://codeload.github.com/stackhpc/drac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fdrac/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":["ansible","drac","raid"],"created_at":"2026-05-30T14:31:08.096Z","updated_at":"2026-05-30T14:31:08.777Z","avatar_url":"https://github.com/stackhpc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"DRAC\n====\n\nThis role supports configuration of BIOS settings and RAID on Dell machines\nwith an iDRAC card.\n\n[![Build Status](https://travis-ci.org/stackhpc/drac.svg?branch=master)](https://travis-ci.org/stackhpc/drac)\n[![Ansible Galaxy](https://img.shields.io/badge/role-stackhpc.drac-blue.svg)](https://galaxy.ansible.com/stackhpc/drac/)\n\nThis role will apply changes required to reach the configuration specified by\nthe user, using the Web Services Management (WSMAN) protocol.\nIf there are any existing pending changes, whether committed or uncommitted,\nthese will be taken into account and applied in addition to the specified\nchanges.\nWhere any pending changes conflict with specified changes, those specified\nas arguments to this module take priority.\n\nIf the `drac_reboot` argument is specified as `true`, the system will be\nrebooted to apply the changes.\nThere may be some cases where the changes could not be applied without\nrebooting the system at least once. In these cases, the role will fail if\nthe user has specified the reboot argument as false.\nSince the system may be rebooted (up to 3 times in total) to apply the\nconfiguration, this role may take a long time to execute.\n\nRequirements\n------------\n\nThe role provides a module, `drac`, that is dependent upon the\n`python-dracclient` package version 2.0.0 or greater. This must be installed in\norder for this module to function correctly.\n\nRole Variables\n--------------\n\nThe following variables may be set for this role:\n\n`drac_address`\n: The address to use when communicating with the DRAC.\n\n`drac_username`\n: The username to use when communicating with the DRAC.\n\n`drac_password`\n: The password to use when communicating with the DRAC.\n\n`drac_bios_config`\n: Dict mapping BIOS configuration names to their desired values.\n\n`drac_raid_config`\n: List of virtual disk configurations. Each item should be a dict containing\n  the following items: `name`, `raid\\_level`, `span\\_length`, `span\\_depth`,\n  `pdisks`. The `pdisks` item should be a list of physical disk IDs.\n\n`drac_reboot`\n: Whether to reboot the node (if required) once the configuration has been\n  applied.\n\n`drac_timeout`\n: Time in seconds to wait for pending operations to complete. 0 means to wait\n  forever.\n\n`drac_interval`\n: Time in seconds between polling for operations to complete.\n\n`drac_check_mode`\n: Whether to execute the `drac` module in check mode. Defaults to unset which\n  uses the global check mode.\n\n`drac_result`\n: Will be set to the registered result of the `drac` module.\n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n\nThis role may be used as follows:\n\n    - hosts: dell-servers\n      roles:\n        - role: stackhpc.drac\n          drac_address: 1.2.3.4\n          drac_username: foo\n          drac_password: bar\n          drac_bios_config:\n            NumLock: 'On' \n            SysProfile: 'PerfOptimized'\n          drac_raid_config:\n            - name: Virtual disk 1\n              raid_level: 1\n              span_length: 2\n              span_depth: 1\n              pdisks:\n                - 'Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1'\n                - 'Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1'\n\nLicense\n-------\n\nBSD\n\nAuthor Information\n------------------\n\n- Authors: Mark Goddard \u0026 Stig Telfer\n- Company: StackHPC Ltd\n- Website: https://stackhpc.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fdrac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackhpc%2Fdrac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fdrac/lists"}