Page 1
Dell EMC Open Manage Ansible Modules Version 1.0.1 User’s Guide February 2018 Rev. A01
Page 2
Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your product. CAUTION: A CAUTION indicates either potential damage to hardware or loss of d...
Page 3
Contents Chapter 1: Overview...................................................................................................................... Key Features............................................
Page 4
Chapter 9: Accessing support content from the Dell EMC support site........................................37 Contents
Page 5
Overview Dell EMC Open Manage Ansible Modules allows Data Center and IT administrators to use Red Hat Ansible to automate and orchestrate the configuration, deployment, and update of Dell EMC Power Ed...
Page 6
Getting Started Topics: How Open Manage Ansible Modules works Running your first Playbook How Open Manage Ansible Modules works Open Manage Ansible modules uses the Server Configuration Profile (SCP) ...
Page 7
Updating Firmware You can maintain up-to-date firmware versions of Dell EMC server components to get better efficiency, security protection and enhanced features. Create update sources to do the firmw...
Page 8
You can install the firmware from a repository on a network share (CIFS, NFS) to keep the system updated. To install the firmware: Make sure the network share contains a valid repository of Dell Updat...
Page 9
Example -name: Update firmware from a repository on a Network Share dellemc_install_firmware: idrac_ip: "xx.xx.xx.xx" idrac_user: "xxxx" idrac_pwd: "xxxxxxxx" share_name:...
Page 10
Configuring Power Edge Servers Integrated Dell Remote Access Controller (i DRAC) with LC provide the ability to generate a human-readable representation of server configuration using Server Configurat...
Page 11
Exporting Server Configuration Profile Module: dellemc_export_server_config_profile Synopsis You can export Server Configuration Profile (SCP) with various components such as i DRAC, BIOS, NIC, RAID t...
Page 12
Example -name: Export Server Configuration Profile (SCP) dellemc_export_server_config_profile: idrac_ip: "xx.xx.xx.xx" idrac_user: "xxxx" idrac_pwd: "xxxxxxxx" share_name...
Page 13
Table 9. dellemc_import_server_config_profile (continued) Network share user in the format share_user No NA NA 'user@domain' if user is part of a domain else 'user' share_pwd No NA NA Network share us...
Page 14
Table 11. dellemc_configure_idrac_users (continued) share_pwd Yes NA NA Network share user password Local mount path of the network share share_mnt Yes NA NA with read-write permission for ansible cre...
Page 15
share_user: "xxxx" share_mnt: "/mnt/share" action: "create" user_name: "username" user_password: "xxxxxxxx" privilege_users: "Administrator"...
Page 16
idrac_pwd: "xxxxxxxx" share_name: "\\\\xx.xx.xx.xx\\share" share_pwd: "xxxxxxxx" share_user: "xxxx" share_mnt: "/mnt/share" setup_idrac_timezone: &quo...
Page 17
Table 15. dellemc_configure_idrac_eventing (continued) Enabled Whether to Enable or enable_alerts No NA Disabled Disable i DRAC alerts Enabled Simple Mail Transfer authentication No NA Disabled Protoc...
Page 18
Table 17. dellemc_configure_idrac_services (continued) idrac_pwd Yes NA NA i DRAC user password idrac_port No NA i DRAC port share_name Yes NA NA CIFS or NFS Network share Network share user in the fo...
Page 19
http_port: "80" https_port: "443" ssl_encryption: "Auto_Negotiate" tls_protocol: "TLS_1_2_Only" timeout: "1800" snmp_enable: "Enabled" snmp_...
Page 20
Table 19. dellemc_configure_idrac_network (continued) ALL LOM1 LOM2 Failover Network Interface Controller types failover_network No NA LOM3 for i DRAC LOM4 T_None Enabled Auto detect Network Interface...
Page 21
idrac_user: "xxxx" idrac_pwd: "xxxxxxxx" share_name: "\\\\xx.xx.xx.xx\\share" share_pwd: "xxxxxxxx" share_user: "xxxx" share_mnt: "/mnt/share&quo...
Page 22
Table 21. dellemc_configure_bios (continued) part of a domain else 'user' Network share user share_pwd Yes NA NA password Local mount path of the network share with share_mnt Yes NA NA read-write perm...
Page 23
idrac_ip: "xx.xx.xx.xx" idrac_user: "xxxx" idrac_pwd: "xxxxxxxx" share_name: "\\\\xx.xx.xx.xx\\share" share_pwd: "xxxxxxxx" share_user: "xxxxx&qu...
Page 24
Table 23. dellemc_configure_raid (continued) Default disk_cache_policy No Default Enabled Disk Cache Policy Disabled Write Through write_cache_policy No Write Through Write Back Write cache policy Wri...
Page 25
Table 25. dellemc_idrac_lc_attributes Parameter Required Default Choices Comments idrac_ip Yes NA NA i DRAC IP Address idrac_user Yes NA NA i DRAC username idrac_pwd Yes NA NA i DRAC user password idr...
Page 26
Table 27. dellemc_setup_idrac_syslog (continued) CIFS or NFS Network share_name Yes NA NA share or a local path Network share user in the format share_user No NA NA 'user@domain' if user is part of a ...
Page 27
Deploying Operating System To provision a bare metal server, it is essential to deploy the required operating system in the device before you start using it. This section describes the process of depl...
Page 28
Example -name: Boot to Network ISO dellemc_boot_to_network_iso: idrac_ip: "xx.xx.xx.xx" idrac_user: "xxxx" idrac_pwd: "xxxxxxxx" share_name: "\\\\xx.xx.xx.xx\\share&...
Page 29
Server Inventory This section describes the process of retrieving the server inventory of the Power Edge Servers using Ansible Modules. Topics: Viewing the System Inventory Viewing the System Inventor...
Page 30
Server Administration Tasks This section describes the tasks that you can run using Open Manage Ansible Modules version 1.0.1 NOTE: Open Manage Ansible Modules version 1.0.1 supports i DRAC firmware v...
Page 31
Example -name: Change Power State dellemc_change_power_state: idrac_ip: "xx.xx.xx.xx" idrac_user: "xxxx" idrac_pwd: "xxxxxxxx" change_power: "xxxxxxx" Resetting...
Page 32
Table 37. dellemc_get_lc_job_status (continued) idrac_pwd Yes NA NA i DRAC user password idrac_port No NA i DRAC port JOB ID in the format job_id Yes NA NA "JID_123456789012" Table 38. Retur...
Page 33
Table 40. Return Values (continued) Exports the LC logs to the given https://github.com/dell/Dell-EMC-Ansible- LC logs Success String network share Modules-for-i DRAC Example -name: Export Lifecycle C...
Page 34
Deleting LC Job Queue Module: dellemc_delete_lc_job_queue Synopsis You can delete all the jobs in the LC job queue using this module. All the jobs in the job queue are terminated when you delete a job...
Page 35
Table 45. dellemc_system_lockdown_mode (continued) Network share user in the format share_user Yes NA NA 'user@domain' if user is part of a domain else 'user' Network share user share_pwd Yes NA NA pa...
Page 36
Troubleshooting While configuring i DRAC timezone on 14G servers with i DRAC firmware 3.00.00.00 and 3.11.11.11 the job keeps running for longer time without any return output. — To ensure that the ne...
Page 37
Accessing support content from the Dell EMC support site Access supporting content related to an array of systems management tools using direct links, going to the Dell EMC support site, or using a se...