On Monday, May 5, 2014 7:06:10 AM UTC-7, Scott Anderson wrote:
>
> Hi all, 
>
> My understanding of delegate_to is that it runs the task on the designated 
> host, once for each host in the current group, and with the current host’s 
> variables. 
>
> msg: Destination /srv/sp/web/core not writable 
>
> The directory does exist on the delegate_to host: 
>
> (sp_devops)GoatRodeo:devops anderson$ ssh -i keys/hoopdy.id_rsa 
> ubuntu@<proper host> 
> ubuntu@ip-10-2-1-174:~$ ls /srv/sp/web/core 
> [… stuff …] 
>
> If I add the directory to the *local* machine running Ansible, the script 
> finds it. This is telling me that the template command is actually trying 
> to copy to the local machine and not the delegate_to machine. 
>
>
It's not saying that the directory doesn't exist, it's saying that it is 
not writable, do you have write permission to /srv/sp/web/core on the 
delegate_to machine?  ls -ld /srv/sp/web/core should show what I'm 
interested in...

Adam

>  
>

-- 
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/d7dfff7b-8a98-4e4b-bc7c-434f21a90f6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to