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 'become' in ansible playbook, do we
need to use become_user with its default user 'root' or the normal sudoer
user? Why not use the normal user with sudo privileges as become_user?
3. When we use become, everything we install and/or create directory and
files tend to be under root directory. But when we use sudo in the command
line, these files and directory are local to the sudoer user.
 3.1 What is the correct way to use this? In my scenario, kubernetes
generated files and directories are under /root/ directory as I used
'become'.

Can anyone please shed some light on these things and also point to the
best practices?

Thank you and kind regards,
Indirajith.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFzyBbYYgRPggbmWuL2859txgRwE2JVf3NadYcxeKJo3SaQ25w%40mail.gmail.com.

Reply via email to