Skip to content

Latest commit

 

History

History
145 lines (133 loc) · 11.6 KB

README.md

File metadata and controls

145 lines (133 loc) · 11.6 KB

Synergy Configuration with Ansible

A group of ansible scripts produced for an account in DXC.technology for OneView in order to configure the HPE Synergy Server

In this Readme file, it states what is required, for a further indepth explanation and a step by step on specific tasks (SDKs etc), please go to the Wiki

Required SDKs and tools

Firstly, you will need to install the following:

  • OpenSSH
  • Ansible
  • Python
  • Pip
  • Unzip
  • HP OneView SDK
  • HP ICSP
  • HP iLO Once all these have been installed, the environment variables will need to be set to point the Ansible and Python env vars to the new SDK packages

Playbook, folder and file structure

This information is very important when it comes to working with Ansible. The information can be found here: Ansible Structure

Something also to take note, Ansible is very 'white-space' sensitive, which means if something is slightly out of line then the playbook will not execute. So to over come this, I used the tool Atom which eliminated that issue but there are others out there also...like Microsoft Visual Studio Code

I have a set of executable Ansible playbooks here, however that is not the full extent of what I have produced. So if you would like to create a new playbook, its in the same format as these however the role will be different. It will require the role name from the 'roles' folder:

---
- hosts: all
  connection: local
  roles:
    - {role: NEW_ROLE_NAME}

Add/Create Playbooks

Update Playbooks

Gather facts Playbooks

Other Playbooks

Delete Playbooks