This project is essentially just to show how the modules are used. I will cover:
- Install modules - Python, Ansible, HPiLO
- Show how to use the hpilo_facts module
- Show how to use the hpilo_boot module
- How to install Powershell on either Ubuntu (17.04) and RedHat (7)
As mentioned above, there are a few modules required for the HPiLO playbooks to work. Instead of doing them manually, I have now created a playbook to do this for you. Simply log into the Ubuntu machine, I am using v17.04, change directory to the one holding the playbooks and execute the following command:
$ ansible-playbook install_HPiLO_tools.yml
To ensure they have installed successfully, the following command will help
$ pip list
We are looking for "ansible(version #)" and "python-hpilo(version #)"
$ python --version
$ pip --version
Before going any further, I received help from the Ansible Module website:
- https://docs.ansible.com/ansible/latest/hpilo_facts_module.html
- https://docs.ansible.com/ansible/latest/hpilo_boot_module.html
Also gained assistance with installing Powershell: