Hello all,
Have setup new ansible server to work with netapp api playbooks.
Able to reach the netapp normally from the server via ssh but when i am running the playbooks the ontap is not reachable
Its going till login prompt then its unreachable.
Error:
[root@fieslpstmgt01 ansible]# ansible-playbook netapptest.yaml
[WARNING]: Ansible is being run in a world writable directory (/etc/ansible), ignoring it as an ansible.cfg source. For more information see
https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir
PLAY [Ontap REST API] **************************************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************
fatal: [10.47.17.178]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ############################################################################\n WARNING - COMPUTER MISUSE ACT 1990\n You will commit a criminal offence if you act outside your\n authority in relation to this Device.\n The penalty is a fine, imprisonment, or both.\n If you are acting outside your authority, do\n not proceed any further. If you are acting within your\n authority, please note that your use of this system may be\n monitored for operational or business reasons.\n This is an assest of TSC Enterprise Cloud Product\n############################################################################", "unreachable": true}
PLAY RECAP *************************************************************************************************************************************************************
10.47.17.178 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
this is my banner set on ontap so its reading it
but not able to connect to ontap after that.
normal ssh login from same system:
[ansibleadm@fieslpstmgt01 ~]$ ssh 10.47.17.178
############################################################################
WARNING - COMPUTER MISUSE ACT 1990
You will commit a criminal offence if you act outside your
authority in relation to this Device.
The penalty is a fine, imprisonment, or both.
If you are acting outside your authority, do
not proceed any further. If you are acting within your
authority, please note that your use of this system may be
monitored for operational or business reasons.
This is an assest of TSC Enterprise Cloud Product
############################################################################
ansible version ansible 2.9.21
Python 2.7.18
Any help is appreciated.