Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [webdb]
- 10.153.99.132
- 10.153.99.52
- [webdb:vars]
- ansible_ssh_user=ctuser
- ansible_ssh_private_key_file=/root/.ssh/id_rsa
- ansible_port=44022
- ansible webdb -s -K -m synchronize -a "src=/tmp/muhan
- dest=/store" -u ctuser
- ansible webdb -s -K -m synchronize -a "dest_port=44022
- src=/tmp/muhan dest=/store" -u ctuser
- 10.153.99.52 | FAILED! => {
- "changed": false,
- "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh 'ssh -i /root/.ssh/id_rsa -S none -o StrictHostKeyChecking=no -o Port=44022' --rsync-path="sudo rsync" --out-format='<<CHANGED>>%i %n%L' "/tmp/muhan" "ctuser@10.153.99.52:/store"",
- "failed": true,
- "msg": "sudo: unable to resolve host c2.example.comnsudo: no tty present and no askpass program specifiednrsync: connection unexpectedly closed (0 bytes received so far) [sender]nrsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]n",
- "rc": 12
- }
- 10.153.99.132 | FAILED! => {
- "changed": false,
- "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh 'ssh -i /root/.ssh/id_rsa -S none -o StrictHostKeyChecking=no -o Port=44022' --rsync-path="sudo rsync" --out-format='<<CHANGED>>%i %n%L' "/tmp/muhan" "ctuser@10.153.99.132:/store"",
- "failed": true,
- "msg": "sudo: unable to resolve host c1.example.comnsudo: no tty present and no askpass program specifiednrsync: connection unexpectedly closed (0 bytes received so far) [sender]nrsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]n",
- "rc": 12
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement