Okay, given that, i should be able to set the ansible_ssh_pass there as 
well.   Thanks, I figured I was overlooking something obvious!   

On Monday, February 12, 2018 at 12:09:35 PM UTC-5, Brian Coca wrote:
> remote_user is usable, but you need to know about precedence, it will 
> only work if you did NOT have an override 
> (ansible_user/ansible_ssh_user override it). 
> It is normally used to change the 'default' remote_user or the one set 
> in config/play/block/role containing the task. 
> To set a different remote user when using the variable overrides, just 
> set the variable for the task: 
> - name: Problem task 
>   command: "shell command" 
>   delegate_to: ###.###.###.### 
>   vars: 
>      ansible_ssh_user: jdoe 
> The vars override the keywords, but the vars are still vars and normal 
> variable precedence still applies. 
> -- 
> ---------- 
> Brian Coca 

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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to