Server Management - Remote Server Management
1754812 Members
3975 Online
108825 Solutions
New Discussion юеВ

How ansible does connexion to iLo and Oneview ?

 
Kourouma
Occasional Advisor

How ansible does connexion to iLo and Oneview ?

Hi everybody!

I would like to know how ansible playbook does connexion from one machine to iLo and Oneview ?

I read the following page but i don't see how it work and i got ssh authentification issue, https://github.com/HewlettPackard/oneview-ansible

The erreur message :

Despite i specify the user and password in the playbok

UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: xxxxxxxxxxxxxxxxxx: Permission denied (password,publickey).", "unreachable": true}

Best regards,

Moustapha Kourouma

2 REPLIES 2
AmRa
HPE Pro

Re: How ansible does connexion to iLo and Oneview ?

Based on same OneView-Ansible github article, below is the option to access the OneView appliance.

https://github.com/HewlettPackard/oneview-ansible

To use the Ansible OneView modules, connection properties for accessing the OneView appliance can be set in a JSON file. This file is used to define the settings, which will be used on the OneView appliance connection, like hostname, authLoginDomain, username, and password. Here's an example:

{
"ip": "172.25.105.12",
"credentials": {
"userName": "Administrator",
"authLoginDomain": "",
"password": "secret123"
},
"api_version": 2800
}

I am an HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo
Kourouma
Occasional Advisor

Re: How ansible does connexion to iLo and Oneview ?

Hi,

Thank you for your reply.

I want know if if ansible use ssh or not to comunicate to oneview and iLo.

Best rgards,

Moustapha Kourouma