Re: [ansible-project] Ansible user privilege and application location

2024-08-20 Thread Brian Coca
1. remote_user is the 'user you log in as' on the remote, mostly used by ssh and similar connection plugins 2. When using sudo (substitute user do) 'the current user' (normally remote/login in user) BECOMES the 'substitute user' to run a command(s), that is what become_user allows you to specify. T

[ansible-project] Ansible user privilege and application location

2024-08-20 Thread Indirajith V
Hi all, I am trying to deploy kubernetes using ansible playbooks. In this, I have quite a few doubts and problems. Can anyone please help me understand the following concepts or doubts? 1. When to use/not use remote_user and what is the purpose of this? 2. When trying to use sudo equivalent 'beco

[ansible-project] Ansible user privilege

2018-04-06 Thread Quang Truong
Dear all, I'm new to ansible and system admin on linux, I have a problem that I don't understand what happen behind the scene. Here is my scenario: - I create a kvm (machine B) on my host machine, this is also an ansible control machine (machine A) - Then copy the ssh key of the user (user X w