Users Guide

Table 9. idrac_server_config_profile (continued)
Parameter/aliases Required Default Choices Comments
If C(BIOS), the module imports BIOS
configuration from SCP file.
If C(NIC), the module imports NIC
configuration from SCP file.
If C(RAID), the module imports RAID
configuration from SCP file.
shutdown_type No Graceful
Graceful
Forced
NoReboot
This option is applicable for C(import) state.
If C(Graceful), it gracefully shuts down
the server
If C(Forced), it forcefully shuts down the
system
If C(NoReboot), it does not reboot the
server
end_host_power_state No On
On
Off
This option is applicable for C(import) state.
If C(On), End host power state is on
If C(Off), End host power state is off
export_format No XML
JSON
XML
Specify the output file format. This option is
applicable for C(export) state.
export_use No Default
Default
Clone
Replace
Specify the type of SCP to be exported. This
option is applicable for C(export) state.
Return Values
msg:
type: str
description: status of the import or export SCP job.
returned: always
sample: "Successfully imported the Server Configuration Profile"
scp_status:
type: dict
description: SCP operation job and progress details from the iDRAC.
returned: success
sample:
{
"Id": "JID_XXXXXXXXX",
"JobState": "Completed",
"JobType": "ImportConfiguration",
"Message": "Successfully imported and applied Server Configuration Profile.",
"MessageArgs": [],
"MessageId": "XXX123",
"Name": "Import Configuration",
"PercentComplete": 100,
"StartTime": "TIME_NOW",
"Status": "Success",
"TargetSettingsURI": null,
"retval": true
}
Examples
- name: Import SCP from a network share and wait for this job to get completed.
dellemc_idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password:"user_password"
command: "import"
share_name: "192.168.0.2:/share"
Modules for iDRAC
17