cappysan.idrac.idrac

This playbook contains a playbook that interacts with the iDRAC.

The following roles are included:

Inventory

In order for the playbook to be run for a host, it must be part of the following inventory groups:

  • cappysan_idrac

Sample inventory.yml, based on the ansible-roster inventory format:

---
plugin: roster

vars:
  # this configuration is applied to all hosts
  racadm__global__configuration:
    iDRAC.IPv4.DNS1: "172.29.1.1"

groups:
  cappysan_idrac:
    vars:
      # this configuration is applied on top of the `racadm__configuration` configuration,
      # overriding it on a key by key basis for all hosts in the `cappysan_idrac` group.
      racadm__group__configuration:
        iDRAC.IPv4.DNS1: "172.29.1.2"

hosts:
  foobar:
    groups:
      - cappysan_idrac

  vars:
    ansible_host: "172.29.1.128"

    # this configuration is applied on top of the both other configurations,
    # overriding both of them.
    racadm__host__configuration:
      iDRAC.IPv4.DNS1:     "172.29.1.3"
      iDRAC.Time.Timezone: "Europe/Paris"

    racadm__global__eventfilters:
      idrac.alert.system.amp.warning:
        action: "none"
        notification: "email"

    racadm__global__eventfilters_from_file:
      - events.txt

Usage

Sample requirements.yml

---
collections:
  - name: "cappysan.idrac"

Sample site.yml

#!/usr/bin/env ansible-playbook
---
- import_playbook: cappysan.idrac.idrac