This Ansible playbook is to automate the installation to Red Hat Single-Sign-On (RHSSO) in a VM and connect it to an existing Oracle database
- The OS of your target VM uses the Yum package manager
- This playbook assumes you are using Oracle database. If you are not using Oracle database, feel free to comment out
- the "Install OJDBC" block in deploy.yml
- any Oracle related configuration in roles/rhsso/templates/standalone.xml.j2
- The RHSSO VM is behind a load balancer and reverse proxy
- Look for Enable HTTPS/SSL with a Reverse Proxy in standalone.xml
- If your use case does not include the above 2 assumptions, you can always reuse standalone.xml.bak and jboss-cli.xml.bak which are the original config files backed up by the playbook
- Download and copy a Java RPM to roles/java/files folder.
- Download and copy a Oracle JDBC jar file into roles/ojdbc/files folder.
- Download and copy the relevant RHSSO zip file into the roles/rhsso/files folder.
- Check variables in group_var folder and update as necessary
ansible-playbook deploy.yml -i inventories/dev
systemctl start rhsso.service
If you want to test the playbook before running it in a real VM and have Vagrant installed on your machine,
vagrant up
vagrant ssh
cd /vagrant
ansible-playbook deploy.yml -i inventories/dev
If you would like to contribute to this repo, please open an issue, fork the repo and create a PR
This project is licensed under the MIT License - see the LICENSE file for details