Can you show me an example playbook and output that illustrates this problem? (Possibly suggest running with -vvv to show the users being used in each step).
Thanks! On Sat, Feb 22, 2014 at 7:21 AM, MidGe <[email protected]> wrote: > There is something I do not understand about remote_user. > > When I set a remote_user at the top level of a playbook, when it comes to > tasks, it seems to use my user name on the invoking machine (there is a > similarly named user on the target) to execute the task unless I also > specify the desired remote_user at the task level. Is that the expected > behaviour? If so, what is the use of setting remote_user at the top level? > Is it simply to log in? > > Thanks for any clarifications. BTW I use the latest git cloned version of > Ansible and my target is a Debian 7 server. > > -- > 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/5f08ba97-aabf-4efd-86d8-a6727367d30c%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAEVJ8QOCcwSJCD%3D_p8BBaH%3De%3D9LH9AXPrGNM-mNWbbV0uO3adw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
