# Ansible 2.5 with ansible-hpe-cw7 module issue

**URL:** <https://forum.ansible.com/t/ansible-2-5-with-ansible-hpe-cw7-module-issue/27203>\
**Category:** Ansible Project\
**Created:** [April 6, 2018, 8:38am UTC](https://forum.ansible.com/t/ansible-2-5-with-ansible-hpe-cw7-module-issue/27203 "2018-04-06T08:38:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EDDY\_BEN-KAISSA](https://avatars.discourse-cdn.com/v4/letter/e/97f17d/32.png) [@EDDY\_BEN-KAISSA](https://forum.ansible.com/u/EDDY_BEN-KAISSA)\
**Post date:** [April 6, 2018, 8:38am UTC](https://forum.ansible.com/t/ansible-2-5-with-ansible-hpe-cw7-module-issue/27203/1 "2018-04-06T08:38:45Z")

</div>

Hi everyone,

I’ve an issue with the hpe module comware 7. I’m trying to use it to establish netconf connection with equipments but unfortunately I obtained error message :

fatal: [LAB]: UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in "/tmp". Failed command was: ( umask 77 && mkdir -p "`echo $HOME/.ansible/tmp/ansible-tmp-1522997534.79-218023192653219`" && echo ansible-tmp-1522997534.79-218023192653219="`echo $HOME/.ansible/tmp/ansible-tmp-1522997534.79-218023192653219`" ), exited with result 1, stdout output: \r\r\n\u0000\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\r\r\n\* Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP _\r\r\n_ Without the owner’s prior written consent, _\r\r\n_ no decompiling or reverse-engineering shall be allowed. _\r\r\n_\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\r\r\n\r\r\n\u0000/bin/sh -c ‘( umask 77 && mkdir -p "`echo $HOME/.ansible/tmp/ansible-tmp-1522997534.79-218023192653219`" && echo ansible-tmp-1522997534.79-218023192653219="`echo $HOME/.ansible/tmp/ansible-tmp-1522997534.79-218023192653219`" ) && sleep 0’\r\r\n ^\r\r\n % Unrecognized command found at ‘^’ position.\r\r\n, stderr output: OpenSSH\_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config\r\ndebug1: /etc/ssh/ssh\_config line 58: Applying options for \*\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O\_NONBLOCK\r\ndebug2: mux\_client\_hello\_exchange: master version 4\r\ndebug3: mux\_client\_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux\_client\_request\_session: entering\r\ndebug3: mux\_client\_request\_alive: entering\r\ndebug3: mux\_client\_request\_alive: done pid = 6420\r\ndebug3: mux\_client\_request\_session: session request sent\r\ndebug1: mux\_client\_request\_session: master session id: 2\r\ndebug3: mux\_client\_read\_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n”,  
“unreachable”: true

I changed the ansible.cfg remote\_tmp field by $HOME/.ansible/tmp  
I used the CentOS 7 linux distribution.

Please help me to solve it.

Regards.

---

<div class="post-metadata">

**Author:** ![EDDY\_BEN-KAISSA](https://avatars.discourse-cdn.com/v4/letter/e/97f17d/32.png) [@EDDY\_BEN-KAISSA](https://forum.ansible.com/u/EDDY_BEN-KAISSA)\
**Post date:** [April 9, 2018, 6:06pm UTC](https://forum.ansible.com/t/ansible-2-5-with-ansible-hpe-cw7-module-issue/27203/2 "2018-04-09T18:06:59Z")

</div>

Hi,

May be I must used the ansible\_connection netconf to specify the method of connection to the switch
