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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/307a70e3-0891-4458-8e62-44843371bc95n%40googlegroups.com.