Skip to content

UCS Modules/Playbooks for Ansible using UCSMSDK

Notifications You must be signed in to change notification settings

britthouser/ansible-ucs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-ucs

UCS Playbook samples and Modules for Ansible using UCSMSDK

Dependencies

Download and install the UCS Python SDK:

https://communities.cisco.com/docs/DOC-64378

UCS Ansible Slack Chat

Feel free to join chat for questions or enhancement requests:

https://ucsmansibleautomation.slack.com/

Usage

  • Update library/inventory file with UCSM login info.
  • Move the library/ucs.py file to your ansible/lib/module-utils folder for this to work.

To run a playbook:

ansible-playbook site.yml

PLAY [ucs] *********************************************************************

TASK [Login X.X.X.X] ***************************************************** ok: [ucspe]

TASK [Configure Callhome X.X.X.X] **************************************** changed: [ucspe]

TASK [Logout X.X.X.X] **************************************************** ok: [ucspe]

PLAY [ucs] *********************************************************************

TASK [Login X.X.X.X] ***************************************************** ok: [ucspe]

TASK [Configure SNMP X.X.X.X] ******************************************** changed: [ucspe]

TASK [Logout X.X.X.X] **************************************************** ok: [ucspe]

PLAY RECAP ********************************************************************* ucspe : ok=6 changed=2 unreachable=0 failed=0

Current Playbooks/Supported Modules

  • configuring of callhome
  • disabling of callhome
  • enabling/disabling snmp
  • adding snmp traps

Playbooks Coming Soon

NTP configuration, and more system management configuration

About

UCS Modules/Playbooks for Ansible using UCSMSDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages