https://github.com/stackhpc/drac-facts
Ansible role to gather facts about BIOS settings and RAID configuration on Dell machines with an iDRAC card
https://github.com/stackhpc/drac-facts
bios-settings drac
Last synced: 4 days ago
JSON representation
Ansible role to gather facts about BIOS settings and RAID configuration on Dell machines with an iDRAC card
- Host: GitHub
- URL: https://github.com/stackhpc/drac-facts
- Owner: stackhpc
- Created: 2016-12-30T14:02:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T08:03:04.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T22:50:20.093Z (about 2 years ago)
- Topics: bios-settings, drac
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 5
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
DRAC Facts
==========
Role providing a module to gather facts about BIOS settings and RAID
configuration on Dell machines with an iDRAC card.
Requirements
------------
The role provides a module, `drac_facts`, that is dependent upon the
`python-dracclient` module. This must be installed in order for this module
to function correctly.
Module Arguments
----------------
`address`: IP address or hostname of the iDRAC BMC.
`username`: Username credentials for the iDRAC.
`password`: Password credentials for the iDRAC.
Dependencies
------------
None
Example Playbook
----------------
With the iDRAC BMCs in the inventory, this role may be used as follows:
- hosts: dell-server-bmcs
gather_facts: false
roles:
- role: stackhpc.drac-facts
tasks:
- name: Gather facts via DRAC
local_action:
module: drac_facts
address: "{{ ansible_host }}"
username: foo
password: bar
- name: Show gathered facts about BIOS settings
debug:
var: drac_bios_settings
- name: Show gathered facts about jobs
debug:
var: drac_jobs
- name: Show gathered facts about unfinished jobs
debug:
var: drac_unfinished_jobs
- name: Show gathered facts about RAID controllers
debug:
var: drac_raid_controllers
- name: Show gathered facts about physical disks
debug:
var: drac_physical_disks
- name: Show gathered facts about virtual disks
debug:
var: drac_virtual_disks
License
-------
BSD
Author Information
------------------
- Authors: Mark Goddard & Stig Telfer
- Company: StackHPC Ltd
- Website: https://stackhpc.com