diff --git a/playbooks/eap8.yml b/playbooks/eap8.yml new file mode 100644 index 0000000..75c9e73 --- /dev/null +++ b/playbooks/eap8.yml @@ -0,0 +1,85 @@ +--- +- ansible.builtin.import_playbook: community.fqcn_migration.fqcn_migration + vars: + upstream_name: wildfly + downstream_name: eap + downstream_namespace: 'redhat' + upstream_namespace: 'middleware_automation' + project_git_url: "{{ lookup('env', 'GIT_REPOSITORY_URL') | default('https://github.com/ansible-middleware/wildfly.git', true) }}" + project_git_version: "{{ lookup('env', 'GIT_REPOSITORY_BRANCH') | default('main', true) }}" + case_insensitive_match: true + + upstream_downstream_collections_map: + - { upstream_name: 'middleware_automation.common', downstream_name: 'redhat.runtimes_common' } + - { upstream_name: 'middleware_automation.wildfly', downstream_name: 'redhat.eap' } + + post_processors_replacements: + - match: "eap[.]statistics-enabled" + replace: "wildfly.statistics-enabled" + - match: "eap-configuration:" + replace: "wildfly-configuration:" + file: 'molecule.*j2$' + - match: "repo1.maven.org/maven2/org/eap/prospero" + replace: "repo1.maven.org/maven2/org/wildfly/prospero" + - match: "files/wildfly-custom.xml" + replace: "files/eap-custom.xml" + file: 'molecule.*yml$' + - match: "https://github.com/rpelisse/eap-quickstarts/releases/download/kitchensink_eap31_1.0/kitchensink.war" + replace: "https://github.com/rpelisse/wildfly-quickstarts/releases/download/kitchensink_wildfly26_1.0/kitchensink.war" + file: 'molecule.*yml$' + - match: "https://github.com/rpelisse/simple-servlet/releases/download/info_wfly31_1.2/info-1.2.war" + replace: "https://github.com/rpelisse/simple-servlet/releases/download/info_eap7.4_1.0/info-1.0.war" + file: 'molecule.*yml$' + - match: "eap_version: 7.4.0" + replace: "eap_version: 8.0.0" + galaxy: + documentation: https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform + homepage: https://access.redhat.com/products/red-hat-jboss-enterprise-application-platform + # anything inside and will be removed + excluded_roles_from_downstream: + - roles/wildfly_subs + downstream_placeholder_delete: + - build_status + # anything inside and will be replaced with content + downstream_placeholder_content: + - placeholder: roles_paths + content: | + ### Roles + * [eap_install](content/role/eap_install/): download and install + * [eap_systemd](content/role/eap_systemd/): configure systemd unit + * [eap_driver](content/role/eap_driver/): install additional driver modules (ie. JDBC) + * [eap_utils](content/role/eap_utils/): utilities related to EAP + * [eap_validation](content/role/eap_validation/): validate deployed installation + * [eap_uninstall](content/role/eap_uninstall/): restore status pre wildfly_install + - placeholder: galaxy_download + content: | + ### Installing the Collection from Automation Hub + + Before using the collection, you need to setup Ansible Automation Hub as galaxy server; then install it via the CLI: + + ansible-galaxy collection install redhat.eap + - placeholder: support + content: | + ## Support + + redhat.eap collection v{{ galaxy_version | default('0.0.0-dev') }} is for [Technical Preview](https://access.redhat.com/support/offerings/techpreview). + If you have any issues or questions related to collection, please don't hesitate to contact us on or open an issue on + + - placeholder: rhn_credentials + content: | + ## Downloading products from the Customer Portal + + The `redhat.eap.eap_install` role supports downloading and installing from the Red Hat Customer Portal using credentials associated to a service account. After + login in the customer portal and navigating to the hybrid cloud console, select the [services account tab](https://console.redhat.com/application-services/service-accounts) + to create one, if needed. Client ID and Client secret associated to the service account needs to be provided with the following variables are defined: + ``` + rhn_username{{':'}} '' + rhn_password{{':'}} '' + ``` + + The downloaded product archive will be stored in the controller working directory, and then distributed to target nodes. + + When patching is requested, via the `eap_apply_cp` variable, the most recently published cumulative patch will be installed; to use a specific patch version instead, + set it with the `eap_patch_version` variable. + + NOTE: downgrading patches is not supported. diff --git a/playbooks/rhbk.yml b/playbooks/rhbk.yml index cd01eab..5dbb7e5 100644 --- a/playbooks/rhbk.yml +++ b/playbooks/rhbk.yml @@ -159,7 +159,7 @@ replace: "keycloak.org" - match: "spid-rhbk-provider" replace: "spid-keycloak-provider" - files: "converge.yml$" + file: "converge.yml$" galaxy: documentation: https://access.redhat.com/documentation/en-us/red_hat_build_of_keycloak/ homepage: https://access.redhat.com/products/red-hat-build-of-keycloak/