This repository contains the Ansible playbook samples and Ansible roles for automating the HPE server lifecycle management using iLOs. The examples highlight the capabilities of the modules and their ability to be integrated into more complex playbooks, workflows, and applications.
These roles and playbooks should give you a very good idea of how to create your own playbooks for your own needs.
Example playbooks and roles use the following collection and modules:
- community.general collection - Following is the list of the modules that are being used from this collection:
- ansible >= 2.11
To install in ansible default or defined paths use:
ansible-galaxy collection install hpe.ilo
To install Ansible and Community general package use:
sudo python -m pip install ansible
ansible-galaxy collection install community.general
pip install python-ilorest-library
pip install paramiko
pip install certifi