Cisco has published Ansible modules for UCS Manager that provide Configuration Management of UCS Unified Fabric including network, server, and storage resources. Ansible provides a rich framework for configuration management of software and hardware infrastructure. For example, when configuring UCS Manager boot policies with Ansible, the user can simply specify the desired settings for the boot policy and Ansible will take care of the programming steps:
Additional examples are provided on GitHub and in the video demo also linked below. The Cisco UCS Ansible modules are built on the Cisco UCSM Python SDK, so the wide range of configuration options supported from the Python SDK are possible through Ansible.
Module Development with the Python SDK
The basic process for developing modules is the following:
Ansible Installation and Command Line Usage Instructions
Because the UCS Manager Ansible modules connect to UCS Manager, it is possible to use the modules without physical hardware by using the UCS Platform Emulator. If you can deploy a Virtual Machine, you can run the UCS Platform Emulator and try out the UCSM Ansible modules. Cisco's demo Cloud (dCloud) is also available and the Cisco UCS Programmability Lab Environment can be used to step through the attached Ansible lab guide.
Usage with dCloud's Physical UCS Lab Environment
For configuration of Hardware including the ability to install a variety of Operating Systems, Cisco's demo Cloud (dCloud) also provides a physical UCS environment. The physical UCS environment includes preconfigured Linux servers and tools to automate all aspects of UCS configuration, OS installation, and ongoing configuration management. Read more on the Cisco Unified Computing System 3.1 Lab Environment