That does mean though that the user specified using the parameters *ansible_ssh_user* and *ansible_sudo_user* must always be the same if performing something that requires root privileges against a remote system.
On Friday, 16 January 2015 14:58:37 UTC, Stuart Budd wrote: > > Hi Brian > I appreciate your reply. Thank you. > > To clarify, the "usual" set-up for an Ansible environment of servers would > be to use a non-root user account on the remote servers that has the > ability to accept SSH connections from the Ansible server and the ability > to run commands as the root user via sudo. > > If that is the case then I will go back to my client and ask for the SSH > user to be provided with sudo root access, the same as their other servers. > > Thanks for your reply. This is new to me and I do not want to do anything > "silly" but also, do not want to make things more difficult than they > should be. > > > > On Friday, 16 January 2015 14:03:06 UTC, Brian Coca wrote: >> >> The normal pattern is having an remote user that can sudo, in your >> case you need to chain 2 sudos, this is not the normal pattern. >> >> >> >> >> -- >> 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 [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/77962243-091c-49d5-a29d-7990382cd145%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
