ssl_version parameter removal breaks current Ansible hp_ilo
svalevka opened this issue · comments
I understand that this may be more of the Ansible issue but will post it here in case this is an easy fix
We are using hpilo_facts Ansible module and it lists hpilo as a requirement:
https://docs.ansible.com/ansible/2.5/modules/hpilo_facts_module.html
I can see that 4.2.1 version does not required parameter ssl_version.
This results in hpil_facts not working due to the following
- Ansible uses hpilo.llo in https://github.com/ansible/ansible/blob/v2.6.0/lib/ansible/modules/remote_management/hpilo/hpilo_facts.py , line 171;
ilo = hpilo.Ilo(host, login=login, password=password, ssl_version=ssl_version)
Since ssl_version is not used in 2.4.1 version of hpilo, Ansible module throws an error:
__init__() got an unexpected keyword argument 'ssl_version'\n"
I can see that there is an open bugreport on Ansible to fix it ansible/ansible#35362