On Wed, 4 Nov 2020 at 11:44, Pratheek P <
prathee...@gmail.com> wrote:
>
> Thank you. Is there a way we can use non-root user and carry out administrative tasks in Ansible system?
Not sure what you mean.
Very generally speaking one should not be able to do administrative
tasks as a non-root user.
What do you mean by "Ansible system"? The controller node? Or the
managed node(s)?
You should not run ansible (playbooks) as root on the controller node,
as this is both not needed and insecure.
As for the managed nodes, it depends on the "administrative tasks" you
want to carry out.
Do they need privilege escalation (i.e. sudo etc)?
> Also, what are the best practices for using Ansible in SAP?
Ansible is "just" an automation tool, so this question basically
translates to "what are the best practices for administrating SAP?".
I don't know the answer to that, but given that SAP is commercial
software, that usually comes with documentation and support.
That would be the place where I would look.
Dick
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/86debbba-1ecb-433d-9c4a-6b3b134df215n%40googlegroups.com.