This repository provides a set of generic roles and reusable playbooks for deploying JBoss Middleware and associated CI / CD tooling.
- Update group_vars/all/all.yml to reflect your environment
- Update inventory.yml to reflect your environment
ansible-galaxy install -r requirements.yml -p ./rolesto download required roles from galaxy.
Roles Used By These Playbooks
Ansible Install and Version
We are currently working against ansible 2.5
pip is the preferred installed method for now:
pip install ansible==2.5
These playbooks and their required roles support a few different mechanisms for transferring the product zip files to the target host. You can set the variable
transfer_method to select the method, which can be set at multiple levels. The default is set in group vars.
This method uses the custom redhat_csp_download module to download the product binaries from the Red Hat Customer Portal. This requires network access from the target host to the Red Hat Customer Portal, but has the advantage of being fully automated. Each of the roles have sensible defaults already set.
The following variables are required:
This method requires you to download the product binaries from the Red Hat Customer Portal and then add them to the files directory. This has the benefit of supporting installs when the target host does have public internet connectivity, but requires a manual step before the playbook can be run. Each of the roles have sensible defaults already set, and the .gitignore will ignore .zip files.
The easiest way to provide the files to your role is to symlink them to the role_name/files directory. If you files are not named the same as the files on the customer portal, you can override the file name using the
CI and Testing
Red Hat Subscriptions
We're trying to follow the OpenShift Ansible Best Practices