Skip to content

Latest commit

 

History

History
74 lines (63 loc) · 3.13 KB

README.md

File metadata and controls

74 lines (63 loc) · 3.13 KB
  • Apache License, Version 2.0 (the "License")

Overview

See https://github.com/CiscoUcs/ucsm-ansible for additional information on installation and usage of the core UCSM modules. This repository provides example playbooks, inventory, and group_vars files for deployment of several reference UCS environments.

Tested on UCS Manager version 3.1 and later. Please submit issues for problems found on earlier UCSM versions.

install

  • ansible must be installed
sudo pip install ansible
  • you will need the latest ucsmsdk
sudo pip install -U ucsmsdk
  • you will need the latest ucsm_apis
git clone https://github.com/ciscoucs/ucsm_apis
cd ucsm_apis
sudo make install
  • clone this repository and install the ansible modules
git clone https://github.com/dsoper2/ucsm-ansible
cd ucsm-ansible
sudo python install.py

uninstall

cd ucsm-ansible
sudo python uninstall.py

Usage Examples

Playbooks, inventory files, and group_vars files are provided for the following environments:

Docker Datacenter (part of Docker Enterprise Edition)

ansible-playbook -i inventory/docker_ucspe dockerdc.yml

Kubernetes on UCS Bare Metal (KuBaM!)

ansible-playbook -i inventory/cc7_kubam kubam.yml

VMware VSAN with Cisco UCS

ansible-playbook -i inventory/cisco-vsan cisco-vsan.yml

Community:

  • We are on Slack - slack requires registration, but the ucspython team is open invitation to anyone to register here