I wanted to copy directory from the remote.
ssh is set. I am able to access the remote without the password but still 
facing issue while copying. 
---
- name: sync pull task
  hosts: localhost
  connection: local
  become: true
  become_user: user
  tasks:
  - name: copying file using pull
    synchronize:
      src: /home/sss/mypath/
      dest: /home/user/ansibleworkspace/
      mode: pull
      rsync_path: "sudo_rsync"
      recursive: true
    delegate_to: '{{ item }}'
    with_inventory_hostnames: targetservers


I m trying to copy a directory from remote, but it's not happening. Its 
getting paused.

output:

user@thu:~/ansibleworkspace$ ansible-playbook checkremote.yml

PLAY [sync pull task] 
**********************************************************

TASK [Gathering Facts] 
*********************************************************
ok: [localhost]

TASK [copying file using pull] 
*************************************************


How to resolve it?????????

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to