JAVA Ansible role
This role installs JAVA from Oracle or OpenJDK in a Debian Stretch environment.
There is optiontal setups for:
- Database
- Okta SSO integration
- Datacenter
Getting Started
Prerequisities
Ansible 2.8.3.0 version installed, or a Docker environment to develop.
Installing
Add role dependecy to your requirements file (Installing roles from file).
Use the following example as a guide for specifying roles in requirements.yml:
- src: flywire.java_role
version: 0.1.0Use the following command to install roles included in requirements.yml:
ansible-galaxy install -r requirements.ymlThen you'll be able to use the role in your playbooks:
- hosts: linux-server
become: yes
roles:
- { role: flywire.java_role }
Testing
For testing we've used Molecule with Docker as driver, and Testinfra as verifier.
In order to run the tests you can:
$ pipenv install -r test-requirements.txt
$ pipenv run molecule testAlso you can play each stage of Molecule separated from this matrix, test will do all the steps:
└── default
├── lint
├── cleanup
├── destroy
├── dependency
├── syntax
├── create
├── prepare
├── converge
├── idempotence
├── side_effect
├── verify
├── cleanup
└── destroy
Developing
Built With
Contributing
You can check in CONTRIBUTING
Versioning
We use the semver system to version all of our ansible roles, https://semver.org/
The current version is kept in plain text in a .semver file Ej: v1.2.5
Authors
- Flywire - flywire
License
This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

