has anyone implemented setting up HP ILO using ansible, when the server has no OS yet ?
if the server has been installed and has hponcfg command, there is ansible module for it.
But wondering, if anyone has tried to setup the server in the ilo using ansible (just simply specifying the ilo hostname, userid/password, port)
I use the python package from http://seveas.github.io/python-hpilo to expose a command line interface and use an example playbook like the following. You have to extract data from the output of the cli but it’s fairly straightforward and very useful.
ansible-playbook -i “localhost,” -c local playbook.yml
As far as I know, Ansible doesn’t have any modules which can do inital configuration of an ILO. However, You can automate the ILO configuration using HP Oneview along with ansible. You can find the details in this url : https://h20195.www2.hpe.com/v2/getpdf.aspx/4AA6-6348ENW.pdf