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