Users Guide

Parameter Required Default Choices Comments
If C(O), End host power state is o
export_format No XML
JSON
XML
Specify the output le format. This option is
applicable for C(export) state.
export_use No Default
Default
Clone
Replace
Specify the type of Sever Conguration Prole
(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"
share_name: "/scp_folder"
share_user: "share_user_name"
share_pwd: "share_user_pwd"
scp_file: "scp_filename.xml"
Modules for iDRAC
19