Hi : 

I am a newbie .   Would the  user subtitution from vars file also i.e 
 ~{{user}}/<sub-dir> .
I guess I'll find out and report back . 

Thanks anyways .  

On Friday, April 19, 2013 at 11:17:39 AM UTC-7, Serge van Ginderachter 
wrote:
>
>
> On 19 April 2013 19:35, Michael DeHaan <[email protected] <javascript:>
> > wrote:
>
>> You can just use "~/" on the path name for the "dest" file, the homedir 
>> will expand on the remote side as you expect.
>
>
> ​Be aware that this is the home directory or the user you are logging on 
> to the remote host with.​
> If you need to copy to other users home directory, knowing their 
> usernames, you can use "~username/".
> You probably will need root permissions to do that, and don't orget to set 
> the file's permissions to the target user.
>
>
> Serge
>
>

-- 
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/22ee4264-0123-41f0-9e01-7820de89f243%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to