Skip to content

the-unbelievable-machine/ansible_collection_hpe

Repository files navigation

Ansible Collection - unbelievable.hpe

CI workflow

The collection includes a variety of Ansible content to help automate the management of HPE OneView / iLO.

This collection provides specific modules. For a generic iLO modules, please see:

See also Ansible Collection for HPE OneView.

Ansible version compatibility

This collection has been tested against following Ansible versions: >= 2.9.

Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.

Python Support

  • Collection supports 2.7+

Note: Python2 is deprecated from 1st January 2020. Please switch to Python3.

Installation and Usage

⚠️ WARNING
Currently the collection is not available via Ansible Galaxy.

Before using the collection, you need to install it with the Ansible Galaxy CLI:

ansible-galaxy collection install https://github.com/the-unbelievable-machine/ansible_collection_hpe.git,v1.0.0

You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: unbelievable.hpe
    source: https://github.com/the-unbelievable-machine/ansible_collection_hpe.git
    type: git
    version: 1.0.0

Included content

Click on the name of a plugin or module to view that content's documentation:

Inventory plugins

Name Description
unbelievable.hpe.oneview HPE OneView inventory source

Modules

Name Description
unbelievable.hpe.ilo_boot_order Manage boot order
unbelievable.hpe.ilo_power_state Manage server power state via iLO
unbelievable.hpe.ilo_security_settings Manage iLO Security settings
unbelievable.hpe.ilo_smartstorage_raids Create/configure/delete smartstorage raids
unbelievable.hpe.ilo_thermal_settings Manage iLO Thermal settings
unbelievable.hpe.imc_configdirectory Create/Delete config file directory
unbelievable.hpe.imc_configfile Create/Delete config files
unbelievable.hpe.imc_configfiles_info List of content (config files) of a folder.
unbelievable.hpe.imc_devices_info Content of /plat/res/device endpoint of IMC
unbelievable.hpe.oneview_inventory Generates the same information as the oneview_inventory plugin.
unbelievable.hpe.oneview_racks_info Content of /rest/racks endpoint of OneView
unbelievable.hpe.oneview_server_hardware_info Content of /rest/server-hardware endpoint of OneView
unbelievable.hpe.oneview_server_profile_compliant Content of /rest/server-profiles endpoint of OneView
unbelievable.hpe.oneview_server_profile_info Content of /rest/server-profiles endpoint of OneView

playbooks

unbelievable.hpe.ilo_security_stage.yml

Usage:

ansible-playbook -i <your-inventory> unbelievable.hpe.ilo_security_stage.yml

Variables:

Name Required Default Description
target no iLO5 Playbook hosts: setting. Pass inventory groups or hostnames
ilo_security_state yes 'Production' or 'HighSecurity'. Prompted for if not set
ilo_password yes Prompted for if not set
ilo_user no Administrator
ilo_validate_certs no True Validate ilo ssl ilo_validate_certs
ilo_port no if not set: omit / use module default
ilo_proxy no if not set: omit / use module default
ilo_delegate_to no localhost Where to delegate the task to.

About

Collection of plugins / roles / playbooks for management of HPE iLO.

Resources

License

Stars

Watchers

Forks

Packages

No packages published