# how to ansible.cfg file setting

**URL:** <https://forum.ansible.com/t/how-to-ansible-cfg-file-setting/25457>\
**Category:** Ansible Project\
**Created:** [September 12, 2017, 9:07am UTC](https://forum.ansible.com/t/how-to-ansible-cfg-file-setting/25457 "2017-09-12T09:07:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hwang.yousik](https://avatars.discourse-cdn.com/v4/letter/h/bc79bd/32.png) [@hwang.yousik](https://forum.ansible.com/u/hwang.yousik)\
**Post date:** [September 12, 2017, 9:07am UTC](https://forum.ansible.com/t/how-to-ansible-cfg-file-setting/25457/1 "2017-09-12T09:07:28Z")

</div>

Hi, I am suffering from this issue;;

An ansible server tries to issue a command on the switch, but the error drops as indicated by the following error :

192.168.20.31 | 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 remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in “/tmp”. Failed command was: ( umask 77 && mkdir -p “`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505193731.24-81820255974495`” && echo ansible-tmp-1505193731.24-81820255974495=“`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505193731.24-81820255974495`” ), exited with result 16: Syntax error while parsing ‘/bin/sh -c ‘( umask 77 && mkdir -p “`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505193731.24-81820255974495`” && echo ansible-tmp-1505193731.24-81820255974495=“`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505193731.24-81820255974495`” ) && sleep 0’’\n\n\nCmd exec error.\n”,  
“unreachable”: true  
}

**ansible server**  
os : centos7.3  
ansible version : 2.3.1.0

**taget switch**  
os : cisco nexus nxos.7.0.3.I5.1.bin

I searched Google and tried various methods, but the same error occurred.  
so I tried the following method but same phenomenon ansible.cfg change remote\_tmp path

~/.ansible/tmp → /tmp  
~/.ansible/tmp → /tmp/${USER}/ansible

**-debug-**

Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/init.pyc  
META: ran handlers  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py  
\<192.168.20.31\> ESTABLISH SSH CONNECTION FOR USER: admin  
\<192.168.20.31\> SSH: ansible.cfg set ssh\_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)  
\<192.168.20.31\> SSH: ANSIBLE\_REMOTE\_USER/remote\_user/ansible\_user/user/-u set: (-o)(User=admin)  
\<192.168.20.31\> SSH: ANSIBLE\_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)  
\<192.168.20.31\> SSH: PlayContext set ssh\_common\_args: ()  
\<192.168.20.31\> SSH: PlayContext set ssh\_extra\_args: ()  
\<192.168.20.31\> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/3fcd43e5da)  
\<192.168.20.31\> SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=admin -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/3fcd43e5da 192.168.20.31 ‘/bin/sh -c ‘"’“‘echo ~ && sleep 0’”’“‘’  
\<192.168.20.31\> (16, “Syntax error while parsing ‘/bin/sh -c ‘echo ~ && sleep 0’’\n\n\nCmd exec error.\n”, ‘OpenSSH\_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config\r\ndebug1: /etc/ssh/ssh\_config line 56: Applying options for _\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket “/root/.ansible/cp/3fcd43e5da” does not exist\r\ndebug2: ssh\_connect: needpriv 0\r\ndebug1: Connecting to 192.168.20.31 [192.168.20.31] port 22.\r\ndebug2: fd 3 setting O\_NONBLOCK\r\ndebug1: fd 3 clearing O\_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 10000 ms remain after connect\r\ndebug1: permanently\_set\_uid: 0/0\r\ndebug1: identity file /root/.ssh/id\_rsa type -1\r\ndebug1: identity file /root/.ssh/id\_rsa-cert type -1\r\ndebug1: identity file /root/.ssh/id\_dsa type -1\r\ndebug1: identity file /root/.ssh/id\_dsa-cert type -1\r\ndebug1: identity file /root/.ssh/id\_ecdsa type -1\r\ndebug1: identity file /root/.ssh/id\_ecdsa-cert type -1\r\ndebug1: identity file /root/.ssh/id\_ed25519 type -1\r\ndebug1: identity file /root/.ssh/id\_ed25519-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH\_6.6.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH\_6.2 PKIX FIPS\r\ndebug1: match: OpenSSH\_6.2 PKIX FIPS pat OpenSSH_ compat 0x04000000\r\ndebug2: fd 3 setting O\_NONBLOCK\r\ndebug3: load\_hostkeys: loading entries for host “192.168.20.31” from file “/root/.ssh/known\_hosts”\r\ndebug3: load\_hostkeys: found key type RSA in file /root/.ssh/known\_hosts:2\r\ndebug3: load\_hostkeys: loaded 1 keys\r\ndebug3: order\_hostkeyalgs: prefer hostkeyalgs: [ssh-rsa-cert-v01@openssh.com](mailto:ssh-rsa-cert-v01@openssh.com),[ssh-rsa-cert-v00@openssh.com](mailto:ssh-rsa-cert-v00@openssh.com),ssh-rsa\r\ndebug1: SSH2\_MSG\_KEXINIT sent\r\ndebug1: SSH2\_MSG\_KEXINIT received\r\ndebug2: kex\_parse\_kexinit: [curve25519-sha256@libssh.org](mailto:curve25519-sha256@libssh.org),ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex\_parse\_kexinit: [ssh-rsa-cert-v01@openssh.com](mailto:ssh-rsa-cert-v01@openssh.com),[ssh-rsa-cert-v00@openssh.com](mailto:ssh-rsa-cert-v00@openssh.com),ssh-rsa,[ecdsa-sha2-nistp256-cert-v01@openssh.com](mailto:ecdsa-sha2-nistp256-cert-v01@openssh.com),[ecdsa-sha2-nistp384-cert-v01@openssh.com](mailto:ecdsa-sha2-nistp384-cert-v01@openssh.com),[ecdsa-sha2-nistp521-cert-v01@openssh.com](mailto:ecdsa-sha2-nistp521-cert-v01@openssh.com),[ssh-ed25519-cert-v01@openssh.com](mailto:ssh-ed25519-cert-v01@openssh.com),[ssh-dss-cert-v01@openssh.com](mailto:ssh-dss-cert-v01@openssh.com),[ssh-dss-cert-v00@openssh.com](mailto:ssh-dss-cert-v00@openssh.com),ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss\r\ndebug2: kex\_parse\_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[aes128-gcm@openssh.com](mailto:aes128-gcm@openssh.com),[aes256-gcm@openssh.com](mailto:aes256-gcm@openssh.com),[chacha20-poly1305@openssh.com](mailto:chacha20-poly1305@openssh.com),aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[rijndael-cbc@lysator.liu.se](mailto:rijndael-cbc@lysator.liu.se)\r\ndebug2: kex\_parse\_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[aes128-gcm@openssh.com](mailto:aes128-gcm@openssh.com),[aes256-gcm@openssh.com](mailto:aes256-gcm@openssh.com),[chacha20-poly1305@openssh.com](mailto:chacha20-poly1305@openssh.com),aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[rijndael-cbc@lysator.liu.se](mailto:rijndael-cbc@lysator.liu.se)\r\ndebug2: kex\_parse\_kexinit: [hmac-md5-etm@openssh.com](mailto:hmac-md5-etm@openssh.com),[hmac-sha1-etm@openssh.com](mailto:hmac-sha1-etm@openssh.com),[umac-64-etm@openssh.com](mailto:umac-64-etm@openssh.com),[umac-128-etm@openssh.com](mailto:umac-128-etm@openssh.com),[hmac-sha2-256-etm@openssh.com](mailto:hmac-sha2-256-etm@openssh.com),[hmac-sha2-512-etm@openssh.com](mailto:hmac-sha2-512-etm@openssh.com),[hmac-ripemd160-etm@openssh.com](mailto:hmac-ripemd160-etm@openssh.com),[hmac-sha1-96-etm@openssh.com](mailto:hmac-sha1-96-etm@openssh.com),[hmac-md5-96-etm@openssh.com](mailto:hmac-md5-96-etm@openssh.com),hmac-md5,hmac-sha1,[umac-64@openssh.com](mailto:umac-64@openssh.com),[umac-128@openssh.com](mailto:umac-128@openssh.com),hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hmac-ripemd160@openssh.com](mailto:hmac-ripemd160@openssh.com),hmac-sha1-96,hmac-md5-96\r\ndebug2: kex\_parse\_kexinit: [hmac-md5-etm@openssh.com](mailto:hmac-md5-etm@openssh.com),[hmac-sha1-etm@openssh.com](mailto:hmac-sha1-etm@openssh.com),[umac-64-etm@openssh.com](mailto:umac-64-etm@openssh.com),[umac-128-etm@openssh.com](mailto:umac-128-etm@openssh.com),[hmac-sha2-256-etm@openssh.com](mailto:hmac-sha2-256-etm@openssh.com),[hmac-sha2-512-etm@openssh.com](mailto:hmac-sha2-512-etm@openssh.com),[hmac-ripemd160-etm@openssh.com](mailto:hmac-ripemd160-etm@openssh.com),[hmac-sha1-96-etm@openssh.com](mailto:hmac-sha1-96-etm@openssh.com),[hmac-md5-96-etm@openssh.com](mailto:hmac-md5-96-etm@openssh.com),hmac-md5,hmac-sha1,[umac-64@openssh.com](mailto:umac-64@openssh.com),[umac-128@openssh.com](mailto:umac-128@openssh.com),hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hmac-ripemd160@openssh.com](mailto:hmac-ripemd160@openssh.com),hmac-sha1-96,hmac-md5-96\r\ndebug2: kex\_parse\_kexinit: [zlib@openssh.com](mailto:zlib@openssh.com),zlib,none\r\ndebug2: kex\_parse\_kexinit: [zlib@openssh.com](mailto:zlib@openssh.com),zlib,none\r\ndebug2: kex\_parse\_kexinit: \r\ndebug2: kex\_parse\_kexinit: \r\ndebug2: kex\_parse\_kexinit: first\_kex\_follows 0 \r\ndebug2: kex\_parse\_kexinit: reserved 0 \r\ndebug2: kex\_parse\_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex\_parse\_kexinit: ssh-rsa\r\ndebug2: kex\_parse\_kexinit: aes128-ctr,aes192-ctr,aes256-ctr\r\ndebug2: kex\_parse\_kexinit: aes128-ctr,aes192-ctr,aes256-ctr\r\ndebug2: kex\_parse\_kexinit: hmac-sha1\r\ndebug2: kex\_parse\_kexinit: hmac-sha1\r\ndebug2: kex\_parse\_kexinit: none,[zlib@openssh.com](mailto:zlib@openssh.com)\r\ndebug2: kex\_parse\_kexinit: none,[zlib@openssh.com](mailto:zlib@openssh.com)\r\ndebug2: kex\_parse\_kexinit: \r\ndebug2: kex\_parse\_kexinit: \r\ndebug2: kex\_parse\_kexinit: first\_kex\_follows 0 \r\ndebug2: kex\_parse\_kexinit: reserved 0 \r\ndebug2: mac\_setup: setup hmac-sha1\r\ndebug1: kex: server-\>client aes128-ctr hmac-sha1 [zlib@openssh.com](mailto:zlib@openssh.com)\r\ndebug2: mac\_setup: setup hmac-sha1\r\ndebug1: kex: client-\>server aes128-ctr hmac-sha1 [zlib@openssh.com](mailto:zlib@openssh.com)\r\ndebug1: kex: ecdh-sha2-nistp256 need=20 dh\_need=20\r\ndebug1: kex: ecdh-sha2-nistp256 need=20 dh\_need=20\r\ndebug1: sending SSH2\_MSG\_KEX\_ECDH\_INIT\r\ndebug1: expecting SSH2\_MSG\_KEX\_ECDH\_REPLY\r\ndebug1: Server host key: RSA 5c:9b:ff:76:d5:4e:92:f8:7f:a0:f1:0a:35:c0:0c:69\r\ndebug3: load\_hostkeys: loading entries for host “192.168.20.31” from file “/root/.ssh/known\_hosts”\r\ndebug3: load\_hostkeys: found key type RSA in file /root/.ssh/known\_hosts:2\r\ndebug3: load\_hostkeys: loaded 1 keys\r\ndebug1: Host ‘192.168.20.31’ is known and matches the RSA host key.\r\ndebug1: Found key in /root/.ssh/known\_hosts:2\r\ndebug1: ssh\_rsa\_verify: signature correct\r\ndebug2: kex\_derive\_keys\r\ndebug2: set\_newkeys: mode 1\r\ndebug1: SSH2\_MSG\_NEWKEYS sent\r\ndebug1: expecting SSH2\_MSG\_NEWKEYS\r\ndebug2: set\_newkeys: mode 0\r\ndebug1: SSH2\_MSG\_NEWKEYS received\r\ndebug1: SSH2\_MSG\_SERVICE\_REQUEST sent\r\ndebug2: service\_accept: ssh-userauth\r\ndebug1: SSH2\_MSG\_SERVICE\_ACCEPT received\r\ndebug2: key: /root/.ssh/id\_rsa ((nil)),\r\ndebug2: key: /root/.ssh/id\_dsa ((nil)),\r\ndebug2: key: /root/.ssh/id\_ecdsa ((nil)),\r\ndebug2: key: /root/.ssh/id\_ed25519 ((nil)),\r\ndebug3: input\_userauth\_banner\r\nUser Access Verification\ndebug1: Authentications that can continue: publickey,password,keyboard-interactive\r\ndebug3: start over, passed a different list publickey,password,keyboard-interactive\r\ndebug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password\r\ndebug3: authmethod\_lookup publickey\r\ndebug3: remaining preferred: keyboard-interactive,password\r\ndebug3: authmethod\_is\_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: /root/.ssh/id\_rsa\r\ndebug3: no such identity: /root/.ssh/id\_rsa: No such file or directory\r\ndebug1: Trying private key: /root/.ssh/id\_dsa\r\ndebug3: no such identity: /root/.ssh/id\_dsa: No such file or directory\r\ndebug1: Trying private key: /root/.ssh/id\_ecdsa\r\ndebug3: no such identity: /root/.ssh/id\_ecdsa: No such file or directory\r\ndebug1: Trying private key: /root/.ssh/id\_ed25519\r\ndebug3: no such identity: /root/.ssh/id\_ed25519: No such file or directory\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod\_lookup keyboard-interactive\r\ndebug3: remaining preferred: password\r\ndebug3: authmethod\_is\_enabled keyboard-interactive\r\ndebug1: Next authentication method: keyboard-interactive\r\ndebug2: userauth\_kbdint\r\ndebug2: we sent a keyboard-interactive packet, wait for reply\r\ndebug2: input\_userauth\_info\_req\r\ndebug2: input\_userauth\_info\_req: num\_prompts 1\r\ndebug3: packet\_send2: adding 32 (len 19 padlen 13 extra\_pad 64)\r\ndebug2: input\_userauth\_info\_req\r\ndebug2: input\_userauth\_info\_req: num\_prompts 0\r\ndebug3: packet\_send2: adding 48 (len 10 padlen 6 extra\_pad 64)\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (keyboard-interactive).\r\nAuthenticated to 192.168.20.31 ([192.168.20.31]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver\_listen: temporary control path /root/.ansible/cp/3fcd43e5da.sAo3Inl1d38RAHrU\r\ndebug2: fd 4 setting O\_NONBLOCK\r\ndebug3: fd 4 is O\_NONBLOCK\r\ndebug3: fd 4 is O\_NONBLOCK\r\ndebug1: channel 0: new [/root/.ansible/cp/3fcd43e5da]\r\ndebug3: muxserver\_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP\_NODELAY\r\ndebug3: packet\_set\_tos: set IP\_TOS 0x08\r\ndebug1: control\_persist\_detach: backgrounding master process\r\ndebug2: control\_persist\_detach: background process is 3345\r\ndebug2: fd 4 setting O\_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug2: set\_control\_persist\_exit\_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug2: fd 5 setting O\_NONBLOCK\r\ndebug3: fd 5 is O\_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel\_post\_mux\_listener: new mux channel 1 fd 5\r\ndebug3: mux\_master\_read\_cb: channel 1: hello sent\r\ndebug2: set\_control\_persist\_exit\_time: cancel scheduled exit\r\ndebug3: mux\_master\_read\_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process\_mux\_master\_hello: channel 1 slave version 4\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\_master\_read\_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process\_mux\_alive\_check: channel 1: alive check\r\ndebug3: mux\_client\_request\_alive: done pid = 3347\r\ndebug3: mux\_client\_request\_session: session request sent\r\ndebug3: mux\_master\_read\_cb: channel 1 packet type 0x10000002 len 91\r\ndebug2: process\_mux\_new\_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term “linux”, cmd “/bin/sh -c ‘echo ~ && sleep 0’”, env 1\r\ndebug3: process\_mux\_new\_session: got fds stdin 6, stdout 7, stderr 8\r\ndebug2: fd 7 setting O\_NONBLOCK\r\ndebug2: fd 8 setting O\_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process\_mux\_new\_session: channel\_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug2: callback start\r\ndebug2: client\_session2\_setup: id 2\r\ndebug1: Sending environment.\r\ndebug1: Sending env LANG = ko\_KR.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug1: Sending command: /bin/sh -c ‘echo ~ && sleep 0’\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: mux\_session\_confirm: sending success reply\r\ndebug2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux\_client\_request\_session: master session id: 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug2: channel\_input\_status\_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug1: client\_input\_channel\_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux\_exit\_message: channel 2: exit message, exitval 16\r\ndebug1: client\_input\_channel\_req: channel 2 rtype [eow@openssh.com](mailto:eow@openssh.com) reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close\_read\r\ndebug2: channel 2: input open → closed\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open → drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close\_write\r\ndebug2: channel 2: output drain → closed\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux\_master\_session\_cleanup\_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open → drain\r\ndebug2: channel 1: close\_read\r\ndebug2: channel 1: input open → closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n [#2](https://github.com/ansible/ansible/issues/2) client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close\_write\r\ndebug2: channel 1: output drain → closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux\_master\_control\_cleanup\_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n\r\ndebug3: mux\_client\_read\_packet: read header failed: Broken pipe\r\ndebug2: set\_control\_persist\_exit\_time: schedule exit in 60 seconds\r\ndebug2: Received exit status from master 16\r\n’)  
\<192.168.20.31\> ESTABLISH SSH CONNECTION FOR USER: admin  
\<192.168.20.31\> SSH: ansible.cfg set ssh\_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)  
\<192.168.20.31\> SSH: ANSIBLE\_REMOTE\_USER/remote\_user/ansible\_user/user/-u set: (-o)(User=admin)  
\<192.168.20.31\> SSH: ANSIBLE\_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)  
\<192.168.20.31\> SSH: PlayContext set ssh\_common\_args: ()  
\<192.168.20.31\> SSH: PlayContext set ssh\_extra\_args: ()  
\<192.168.20.31\> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/3fcd43e5da)  
\<192.168.20.31\> SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=admin -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/3fcd43e5da 192.168.20.31 '/bin/sh -c '”‘"’( umask 77 && mkdir -p “`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505206222.52-46749429580374`” && echo ansible-tmp-1505206222.52-46749429580374=“`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505206222.52-46749429580374`” ) && sleep 0’“'”‘’  
\<192.168.20.31\> (16, ‘Syntax error while parsing ‘/bin/sh -c ‘( umask 77 && mkdir -p “`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505206222.52-46749429580374`” && echo ansible-tmp-1505206222.52-46749429580374=“`echo Cmd exec error./.ansible/tmp/ansible-tmp-1505206222.52-46749429580374`” ) && sleep 0’’\n\n\nCmd exec error.\n’, ‘OpenSSH\_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh\_config\r\ndebug1: /etc/ssh/ssh\_config line 56: 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 = 3347\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 16\r\n’)
