Hi,

I am not able copy to remote host, getting not writable error, my playbook  
is here.

---
 - hosts: all
   become: yes
   become_user: sanjay
   become_method: sudo
   tasks:
     - name: copy some file
       copy: src=/home/sanjay/messages dest=/etc

================================================
remote host enabled with sudo for user with NOPASSWD: All option
================================================
ansible --version
ansible 2.0.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b373e165-7f06-4aa9-b8eb-948dd7bc48d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to