8000 GitHub - cloin/ansible-openjdk: Demos switching oraclejdk to openjdk · GitHub
[go: up one dir, main page]

Skip to content

About

Demos switching oraclejdk to openjdk

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

ansible-openjdk

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 javademo will attach you to the tmux session
  • ctrl+b n will switch to the next window (window names are shown in the bottom left next to the session name 'javademo')
  • ctrl+b d will detach you from the tmux session
  • tmux kill-session -t javademo will destroy the tmux session and kill the processes running in that session (EAP and maven)

Demonstration:

  • ansible -i inventory common.yml
  • ansible -i inventory oraclejdk.yml
  • ansible -i inventory openjdk.yml

gif of helloworld app

About

Demos switching oraclejdk to openjdk

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

0