I am sure that this is probably a silly question, but It’s the basis for the preparation for Ansible certification exam. I have troubles with the understanding of the Ansible remote_user.
Let’s imagine that you have a control node and a managed host to perform some action, the users in both nodes are as follows:
Control node → ROOT, User1 , User2, User3
Managed Host → ROOT, User3
So, if you are logged as ROOT in the control node, and you execute a playbook to perform some action in the managed host, and you use the key words REMOTE_USER = User3, are you using your control’s node User3 to perform the action within the managed host? OR are you loginng as managed host’s User3 to perform the action?
Hope you can help me… as I was not able to find anything clear in the documentation.
Thank you in advance!!!