Hi All, I want to refer user defined ansible variables inside a shell script. Can anyone help me how to accomplish this ? For example, for the below code:
-- - name: Execute the script ansible.builtin.command: bash /tmp/test.sh -- I want to access ansible variables inside the shell script test.sh. Please help me. Thanks Y.G -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/aa181867-4219-4471-bea1-b809a7c1be6fn%40googlegroups.com.