danieloh30.rhamt

Ansible Role: Red Hat Application Migration Toolkit on OpenShift

This role is for setting up the RHAMT Web console by integrating with RH-SSO on OpenShift.

Role Variables

Variable Default Value Required Description
OCP_PROJECT rhamt Required Name of the OpenShift project to use for this role.
RHAMT_VOLUME_CAPACITY 10Gi Optional Size of the persistent volume for the RHAMT Pod.
REQUESTED_CPU 1 Optional Amount of CPU resources requested for the RHAMT Pod.
REQUESTED_MEMORY 2Gi Optional Amount of memory resources requested for the RHAMT Pod.
DB_DATABASE WindupServicesDS Optional Name of the PostgreSQL Database.
DB_USERNAME postgresuser Optional Username for the PostgreSQL Database.
DB_PASSWORD postgrespassword Optional Password for the PostgreSQL Database.
APP rhamt-web-console Optional Name of the application for the RHAMT Pod.
APP_DIR app Optional Path to the application directory for the RHAMT Pod.
DOCKER_IMAGES_TAG 4.2.1.Final Optional Tag for the RHAMT container image on Quay.io.

OpenShift Version Compatibility

When using this role in requirements.yml, specify the version of the role using one of the tags:

- src: danieloh30.rhamt
  version: 1.2.0

The table below shows the tested and verified version combinations:

Role Version OpenShift Version
1.2.0 3.11.x

If a version combination is not in the table, it does NOT mean it won't work with that version. This table only lists combinations that have been verified.

Example Playbook

name: Example Playbook
hosts: localhost
tasks:
- import_role:
    name: danieloh30.rhamt
  vars:
    OCP_PROJECT: "rhamt"

Test Locally

To test this role on your local machine:

ansible-playbook -i tests/inventory tests/role_provision.yml \
        -e OCP_PROJECT=rhamt

NOTE: You can add various parameters to change the defaults as needed.

If you want to delete all RH-SSO users like userxx locally:

ansible-playbook -i tests/inventory tests/rhsso_delete_users.yml \
        -e OCP_PROJECT=rhamt
Informazioni sul progetto

Red Hat Application Migration Toolkit

Installa
ansible-galaxy install danieloh30.rhamt
Licenza
Unknown
Download
146
Proprietario
Java Champion, CNCF Ambassador, Developer Advocate, Technical Marketing, International Speaker, Published Author @opensourceway @quarkusio @redhat