Users Guide

Table 12. dellemc_idrac_server_config_profile (continued)
Parameter Required Default Choices Comments
If C(Forced), it forcefully shuts down
the system
If C(NoReboot), it does not reboot the
server
end_host_power_stat
e
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 Sever Configuration
Profile (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 Server Configuration Profile from a network share
dellemc_idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_pwd: "user_pwd"
command: "import"
share_name: "192.168.0.2:/share"
share_user: "share_user_name"
share_pwd: "share_user_pwd"
scp_file: "scp_filename.xml"
scp_components: "ALL"
job_wait: True
- name: Import Server Configuration Profile from a local path
dellemc_idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_pwd: "user_pwd"
command: "import"
18
Modules for iDRAC