https://github.com/govtechsg/ansible-rhsso-oracle
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
https://github.com/govtechsg/ansible-rhsso-oracle
Last synced: 4 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/govtechsg/ansible-rhsso-oracle
- Owner: GovTechSG
- License: mit
- Created: 2019-02-05T08:20:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T11:45:37.000Z (over 7 years ago)
- Last Synced: 2025-03-16T23:11:25.905Z (about 1 year ago)
- Size: 20.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-rhsso-oracle


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
## Assumption
* 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
## How To Use
1. Download and copy a Java RPM to roles/java/files folder.
2. Download and copy a Oracle JDBC jar file into roles/ojdbc/files folder.
3. Download and copy the relevant RHSSO zip file into the roles/rhsso/files folder.
4. Check variables in group_var folder and update as necessary
5. `ansible-playbook deploy.yml -i inventories/dev`
6. `systemctl start rhsso.service`
## To test
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
```
## Contributing
If you would like to contribute to this repo, please open an issue, fork the repo and create a PR
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details