Ansible Collection - middleware_automation.infinispan

Build Status

This an Ansible collection dedicated to Infinispan.

Note that Infinispan can be used as remote caches for other software, such as Keycloak or Wildfly.

NOTE: For Red Hat customers, this collection is also available on Red Hat Ansible Automation Hub (redhat.datagrid). This collection can be used to managed the Red Hat product Red Hat DataGrid, which can also be used as remote caches for Red Hat Single Sign-On or Red Hat JBoss EAP.

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.9.10.

Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions.

Installation and Usage

Installing the Collection from Ansible Galaxy

Before using the collection, you need to install it with the Ansible Galaxy CLI:

ansible-galaxy collection install middleware_automation.infinispan

You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: middleware_automation.infinispan

Build and install locally

Clone the repository, checkout the tag you want to build, or pick the main branch for the development version; then:

ansible-galaxy collection build .
ansible-galaxy collection install middleware_automation-amq-*.tar.gz

Dependencies

Ansible collections:

Python:

The infinispan collection also depends on the following python packages to be present on the controller host:

  • lxml

  • jmespath

A requirement file is provided to install:

pip install -r requirements.txt

Included roles

  • infinispan: performs an installation of Infinispan or DataGrid nodes or cluster, with configuration of static caches.

  • infinispan_cache: creates Infinispan or DataGrid caches at runtime.

License

Apache License v2.0 or later

See LICENSE to view the full text.