Demonstrates configuring RHEL and building, deploying a modified HelloWorld app running on EAP with OracleJDK. Stops EAP, switches to OpenJDK and redeploys app. HelloWorld app has been modified to display JAVA_HOME. Download EAP and OracleJDK and place them in files directory in the appropriate role. Edit group_vars/all.yml for your environment.
tmux is installed and EAP and Maven deploy is run inside their own windows. ssh to the node you're running the demo on and use these commands:
tmux a -dt javademowill attach you to the tmux sessionctrl+b nwill switch to the next window (window names are shown in the bottom left next to the session name 'javademo')ctrl+b dwill detach you from the tmux sessiontmux kill-session -t javademowill destroy the tmux session and kill the processes running in that session (EAP and maven)
Demonstration:
ansible -i inventory common.ymlansible -i inventory oraclejdk.ymlansible -i inventory openjdk.yml