An Ansible role to setup Bonita Community server on a developer box.
Bonita server is installed in the user's home directory as default. A new tenant password is randomly generated on each run and the user is notified by an email providing the new tenant password.
This purpose of this repo is to play with ansible, molecule and Bonita BPM community server, thus not for production use 😇
- ansible >= 2.x
- Requires at least Java 8. See
geerlingguy.java
role instructions for installing OpenJDK 8.
- java_installed: fact set by this role that contains a flag that indicates if Java is installed on the host.
- java_version_installed: fact set by this role that contains the string of the Java version installed in the system.
- tenant_admin_password: fact set by this role that contains the string of the randomly generated password for the tenant user
Install
(generated each run).
- debug: flag to make role more verbose.
- bonita_version: 7.9.4
- bonita_repo_url: "https://release.ow2.org/bonita"
- smtp_host: "my.smtp.host.com"
- smtp_port: 2525
- smtp_username: smtp_user
- smtp_password: 123456789
- smtp_from: "bonita-admin@my.smtp.host.com"
- smtp_to: "bonita-user@somewhere.com"
- smtp_TLS: starttls
- bonita_home_dir: "~/bonita"
- bonita_required_packages: ['unzip']
- hosts: localhost
roles:
- role: bonita_dev
vars:
smtp_to: "bonita-user@somewhere.com"
Molecule is designed to aid in the development and testing of Ansible roles -- Molecule
Please, refer to the manual to install and use molecule.
# Running the tests
molecule test
Family | Distribution | Version | Test Status |
---|---|---|---|
Debian | Ubuntu | Bionic | |
Debian | Ubuntu | Xenial | |
Debian | Debian | Buster | |
Debian | Debian | Stretch |
GPLv3