ansible.builtin._idrac_redfish_facts (v2.9.27) — module

Manages servers through iDRAC using Dell Redfish APIs

| "added in version" 2.8 of ansible.builtin"

Authors: Jose Delarosa (@jose-delarosa)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Builds Redfish URIs locally and sends them to remote iDRAC controllers to get information back.

For use with Dell iDRAC operations that require Redfish OEM extensions

This module was called C(idrac_redfish_facts) before Ansible 2.9, returning C(ansible_facts). Note that the M(idrac_redfish_info) module no longer returns C(ansible_facts)!

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Get Manager attributes with a default of 20 seconds
    idrac_redfish_command:
      category: Manager
      command: GetManagerAttributes
      baseuri: "{{ baseuri }}"
      username: "{{ username }}"
      password: "{{ password }}"
      timeout: 20

Inputs

    
baseuri:
    description:
    - Base URI of iDRAC controller
    required: true
    type: str

command:
    description:
    - List of commands to execute on iDRAC controller
    required: true
    type: list

timeout:
    default: 10
    description:
    - Timeout in seconds for URL requests to OOB controller
    type: int

category:
    description:
    - Category to execute on iDRAC controller
    required: true
    type: str

password:
    description:
    - Password for authentication with iDRAC controller
    required: true
    type: str

username:
    description:
    - User for authentication with iDRAC controller
    required: true
    type: str

Outputs

msg:
  description: different results depending on task
  returned: always
  sample: List of Manager attributes
  type: dict