Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. [webdb]
  2. 10.153.99.132
  3. 10.153.99.52
  4. [webdb:vars]
  5. ansible_ssh_user=ctuser
  6. ansible_ssh_private_key_file=/root/.ssh/id_rsa
  7. ansible_port=44022
  8.  
  9. ansible webdb -s -K -m synchronize -a "src=/tmp/muhan
  10. dest=/store" -u ctuser
  11.  
  12. ansible webdb -s -K -m synchronize -a "dest_port=44022
  13. src=/tmp/muhan dest=/store" -u ctuser
  14.  
  15. 10.153.99.52 | FAILED! => {
  16. "changed": false,
  17. "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"",
  18. "failed": true,
  19. "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",
  20. "rc": 12
  21. }
  22. 10.153.99.132 | FAILED! => {
  23. "changed": false,
  24. "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"",
  25. "failed": true,
  26. "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",
  27. "rc": 12
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement