dellemc.openmanage.idrac_server_config_profile – Export or Import iDRAC Server Configuration Profile (SCP)¶
Note
This plugin is part of the dellemc.openmanage collection (version 3.2.0).
To install it use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.idrac_server_config_profile
.
New in version 2.1.0: of dellemc.openmanage
Synopsis¶
Export the Server Configuration Profile (SCP) from the iDRAC or Import from a network share or a local file.
Requirements¶
The below requirements are needed on the host that executes this module.
omsdk
python >= 2.7.5
Parameters¶
Notes¶
Note
Run this module from a system that has direct access to DellEMC iDRAC.
This module does not support
check_mode
.
Examples¶
---
- name: Import SCP from a network share and wait for this job to get completed
dellemc.openmanage.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"
share_user: "share_user_name"
share_password: "share_user_password"
scp_file: "scp_filename.xml"
scp_components: "ALL"
job_wait: True
- name: Import SCP from a local path and wait for this job to get completed
dellemc.openmanage.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
command: "import"
share_name: "/scp_folder"
scp_file: "scp_filename.xml"
scp_components: "ALL"
job_wait: True
- name: Export SCP to a network share
dellemc.openmanage.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
share_name: "192.168.0.2:/share"
share_user: "share_user_name"
share_password: "share_user_password"
job_wait: False
- name: Export SCP to a local path
dellemc.openmanage.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
share_name: "/scp_folder"
job_wait: False
- name: Export SCP to a local path with a specified name for the file
dellemc.openmanage.idrac_server_config_profile:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
share_name: "/scp_folder"
# extension for filename is considered if provided
scp_file: "exported_scp_filename"
export_format: "JSON"
job_wait: False
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Jagadeesh N V(@jagadeeshnv)