cappysan.idrac.eventfilters_from_file
cappysan.idrac.eventfilters_from_file module – Set eventfilters for iDRAC alerts by reading a file.
Note
This module is part of the cappysan.idrac collection.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cappysan.idrac.
To use it in a playbook, specify: cappysan.idrac.eventfilters_from_file.
Synopsis
Set eventfilters for iDRAC alerts by reading a file. If the value is already correct, no set will take place. Import file can be generated by connecting to iDRAC by ssh and exporting all alerts:
ssh {user}@{hostname} eventfilters get -c idrac.alert.all | tee events.txt
Note
This module has a corresponding action plugin.
Parameters
Parameter |
Comments |
|---|---|
|
|
When event filter configuration key does not exist, skip it instead of throwing an error. Choices:
|
|
When Choices:
|
Attributes
Attribute |
Support |
Description |
|---|---|---|
Support: full |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Examples
- name: "Set iDRAC eventfilters from file"
cappysan.idrac.eventfilters_from_file:
file: "events.txt"