Thank you. Is there a way we can use non-root user and carry out 
administrative tasks in Ansible system? Also, what are the best practices 
for using Ansible in SAP?

On Wednesday, October 28, 2020 at 3:13:56 PM UTC+5:30 [email protected] 
wrote:

>
> https://docs.ansible.com/ansible/latest/user_guide/playbooks_environment.html
>
> On Wed, 28 Oct 2020 at 09:53, Pratheek P <[email protected]> wrote:
> >
> > Any updates on this please?
> >
> > Best Regards,
> > Pratheek. P
> >
> > On Monday, October 26, 2020 at 12:08:08 PM UTC+5:30 Pratheek P wrote:
> >>
> >> Dear Ansible community,
> >>
> >> I want to try out Ansible automation for SAP where we automate SAP 
> start/stop, Oracle DB start/stop processes. I'm able to achieve this by 
> creating playbooks, using become method to change user and establishing 
> open SSH connection from root of Ansible control node to root of SAP 
> managed host. Now I have a new requirement to use a non-root user in 
> control node and managed host. However, I noticed that when I use the 
> non-root user, I'm not able to get the correct environment variables 
> required to start/stop SAP as <sid>adm user. I want to know what is the 
> best way to achieve this and also about the best practices when it comes to 
> automating SAP tasks using Ansible. Looking forward to your replies.
> >>
> >> Best Regards,
> >> Pratheek. P
> >
> > --
> > 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/3e4b6dc6-da53-499d-aa8c-d4767879e822n%40googlegroups.com
> .
>
>
>
> -- 
> Dick Visser
> Trust & Identity Service Operations Manager
> GÉANT
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/86debbba-1ecb-433d-9c4a-6b3b134df215n%40googlegroups.com.

Reply via email to