
UNSOLVED
Connect Unity from Ansible hosts
Hello
I've followed instructions from below thread to set-up ansible VM.
https://github.com/dell/ansible-unity/blob/1.3.0/README.md
Apart from last step of SSL certificate copy to /etc/pki/trust/anchors - I am able to do rest of the steps. CA signed certs are installed using method and was completed succesfully.
My playbook looks like below.
---
- hosts: inventory
collections:
- dellemc.unity
tasks:
- name: Create FileSystem
dellemc.unity.filesystem:
unispherehost: "{ {MYIP}}"
username: "{ {service}}"
password: "{ {}}"
verifycert: true
filesystem_name: "ansible_test_fs"
nas_server_name: "sfr02unioracle"
pool_name: "SFR02_Pool"
size: 5
state: "present"
When I run this , I am getting SSH related errors.Is it supposed to work over SSL or SSH ? Any idea on how to resolve this ?
TASK [Gathering Facts] **********************************************************************************************************************************************************************
fatal: [MY UNITY]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: \nWelcome to EMC Unity 480 96GB
GNOSIS_RETAIL\n\nroot@MY UNity: Permission denied (publickey,keyboard-interactive).", "unreachable": true}
Responses (0)
Solutions (0)
