infini_host module

Hi,

I have infinidat storage and I’m trying to use the ansible modules, but I’m stucked on the connection.
I cannot figure out from the documentation how to connect to the storage. I have the following:

As written in documentation, this module requires an sdk :

infinisdk

Regards,

Hi,

I have that sdk installed and also have the file for the credentials, still I cannot connect.

Thanks,
Bruno

Hi,

I have created the file ~/.infinidat/infinisdk.ini with authentication credentials, I’ve also tried to use the export INFINIBOX_USER and INFINIBOX_PASSWORD but I’m still getting:

fatal: [xpto-server]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: Permission denied (publickey).\r\n”, “unreachable”: true}

If I use python shell I can connect.

Hi,

Is there a way to configure what type of connection to infinibox ansible uses? Is it supposed to be SSH? I cannot find anything about this on the docs.

Thanks,
Bruno

Why don't you just test disabling ssh by setting connection: local or delegate_to: localhost since is doesn't look like anyone here uses infinibox and can help you.

Hi,

Thanks Kai, that worked. Didn’t know that I could do that.

Bruno