I was running a playbook and referencing remote_user in a file under 
/roles/my_role/tasks/deploy.yml, (included in 
/roles/my_role/tasks/main.yml) and Ansible was giving me an error that 
{{remote_user}} did not exist.

On Tuesday, 26 August 2014 16:04:59 UTC-7, Michael DeHaan wrote:
>
> Did you want to reference that variable in a template somewhere?
>
>
>
>
> On Tue, Aug 26, 2014 at 6:26 PM, Brian Coca <[email protected] 
> <javascript:>> wrote:
>
>> Not sure what you mean. When set at play level, all tasks by default will 
>> use that remote_user. you can override on specific tasks with different 
>> remote_user.​ Of course unless hostvars override with ansible_ssh_user
>>  
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CADn%2BHsyZW0DzZj6e_98c%2BKcrq93ozz3a9ex%2Bk%2Binc%2BMXz6s0%2BA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/CADn%2BHsyZW0DzZj6e_98c%2BKcrq93ozz3a9ex%2Bk%2Binc%2BMXz6s0%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/2efe7be0-435f-406b-bab6-cebb7a5ec489%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to