# cp a file on remote | Missing become password

**URL:** <https://forum.ansible.com/t/cp-a-file-on-remote-missing-become-password/18912>\
**Category:** Ansible Project\
**Created:** [August 1, 2015, 12:58am UTC](https://forum.ansible.com/t/cp-a-file-on-remote-missing-become-password/18912 "2015-08-01T00:58:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaTi\_Villagra](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MaTi\_Villagra](https://forum.ansible.com/u/MaTi_Villagra)\
**Post date:** [August 1, 2015, 12:58am UTC](https://forum.ansible.com/t/cp-a-file-on-remote-missing-become-password/18912/1 "2015-08-01T00:58:52Z")

</div>

Hello.

I have ansible 1.9.2 running [elementary OS], the task is simple I want to copy a file named file1.txt on a remote node [debian Jessie] PATH = /root/file1.txt

I sucesfully ssh without using a text password from my elemtary OS to my debian Jessie [ssh -l debian gateway.linux.rocks]

File : motd/tasks/main.yml

- name: copy a file  
copy: src=file1.txt dest=/root/file1.txt owner=root mode=0600  
tags:
- simple

I have groups\_vars/servers definition for this node as
