Hi All,
I am using “action: shell source /etc/profile” and at the time of playbook execution its showing changed too, but somehow i am not able to see my environment variable when i run echo $JAVA_HOME which is set under /etc/profile.
On the other side if i run source /etc/profile manually, i can see the echo $JAVA_HOME output.
Please suggest
Regards,
Pawan Kumar