Hi Guys, i try to ran a new ansible-playbook and i get this error:
Before i could connect to this hosts but now
TASK [Gathering Facts] ******************************************************************************************************************************************************************************************************************************************************************************************************
task path: /home/user/.ansible/nfs_web_deploy.yml:1
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<130.126.33.210> ESTABLISH SSH CONNECTION FOR USER: user
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<130.126.33.210> ESTABLISH SSH CONNECTION FOR USER: user
<130.126.33.210> SSH: EXEC sshpass -d15 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=user-o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/33c8d0b96c 130.126.33.210’/bin/sh -c ‘"’“‘echo ~user&& sleep 0’”‘"’’
<130.126.33.210> SSH: EXEC sshpass -d14 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=user-o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/78f07ccc5d 130.126.33.211’/bin/sh -c ‘"’“‘echo ~user && sleep 0’”‘"’’
<130.126.33.210> (0, ‘/home/user\n’, ‘’)
<130.126.33.210> ESTABLISH SSH CONNECTION FOR USER: user
<130.126.33.210> SSH: EXEC sshpass -d14 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=victors -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/78f07ccc5d 130.126.33.210’/bin/sh -c ‘"’“‘( umask 77 && mkdir -p “echo /home/user/.ansible/tmp/ansible-tmp-1529990304.0-152983927839392
” && echo ansible-tmp-1529990304.0-152983927839392=“echo /home/vuserctors/.ansible/tmp/ansible-tmp-1529990304.0-152983927839392
” ) && sleep 0’”‘"’’
<130.126.33.210> (1, ‘’, ‘mkdir: cannot create directory \xe2\x80\x98/home/user/.ansible/tmp/ansible-tmp-1529990304.0-152983927839392\xe2\x80\x99: Read-only file system\n’)
fatal: [130.126.33.210]: 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/user/.ansible/tmp/ansible-tmp-1529990304.0-152983927839392
" && echo ansible-tmp-1529990304.0-152983927839392="echo /home/vicuserors/.ansible/tmp/ansible-tmp-1529990304.0-152983927839392
" ), exited with result 1”,
“unreachable”: true
}
What i am doing wrong, i can access this via putty but not via ansible for some reasons