arolfes.camundamodeler

Ansible Role: camundamodeler

Build Status Ansible Galaxy License

This role installs the Camunda Modeler.

You can start it from the command line using camunda-modeler or create a shortcut on your desktop by running:

cp /usr/share/applications/camunda-modeler.desktop ~/Desktop/

Requirements

  • Ansible version 2.8.0 or higher
  • A Linux distribution, such as:
    • Debian Family: Ubuntu (Bionic 18.04, Focal 20.04), Debian (Stretch 9, Buster 10)
    • RedHat Family: Fedora (37)
    • SUSE Family: openSUSE (15.1)

Note: Other versions might work but have not been tested.

Role Variables

Here are variables you can adjust for this role (default values are shown):

# Version of Camunda Modeler to download
cm_version: '4.12.0'

# Download URL for Camunda Modeler
cm_download_url: 'https://github.com/camunda/camunda-modeler/releases/download/v{{ cm_version }}'

# Filename for the Camunda Modeler package
cm_redis_filename: 'camunda-modeler-{{ cm_version }}-linux-x64.tar.gz'

# Base installation directory
cm_install_dir: '/opt/camunda-modeler/{{ cm_version }}'

# Directory for temporary downloads
cm_download_dir: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads') }}"

# Plugins can be downloaded and installed. Uncomment to enable and specify plugin details.
# plugins:
#   - name: tooltip
#     url: ... 

Supported Versions

The following versions of Camunda Modeler are supported without needing extra configuration:

  • 5.8.0, 5.7.0, 5.6.0, ..., 3.0.0

Example Playbook

To install Camunda Modeler:

- hosts: servers
  roles:
     - role: arolfes.camundamodeler

To install a specific version, specify cm_version:

- hosts: servers
  roles:
     - role: arolfes.camundamodeler
       cm_version: '5.8.0'

To add plugins automatically:

- hosts: servers
  roles:
     - role: arolfes.camundamodeler
       plugins:
          - name: tooltip
            url: https://github.com/viadee/camunda-modeler-tooltip-plugin/archive/refs/tags/v0.0.8.tar.gz
          # Add more plugins as needed

To use your own download mirror:

- hosts: servers
  roles:
     - role: arolfes.camundamodeler
       cm_download_url: https://downloads.camunda.cloud/release/camunda-modeler/5.8.0

To use a patched version:

- hosts: servers
  roles:
     - role: arolfes.camundamodeler
       cm_download_url: https://localhost/camunda-modeler
       cm_redis_filename: camunda-modeler-patched.tar.gz
       cm_redis_sha256sum: '862b48542cd916f7d06ce1f5a3e821eada1ca8b595c34a564671eb8a660fc519'

Role Facts

This role provides the following Ansible facts for other roles to use:

  • ansible_local.camundamodeler.general.version (e.g., 5.8.0)
  • ansible_local.camundamodeler.general.home (e.g., /opt/camunda/modeler/5.8.0)

Development & Testing

To develop or test this project, you need:

Note: Installing these can be complex. You can use the Molecule Wrapper for easier setup.

To test with Molecule Wrapper, run:

./moleculew test --all

License

MIT

Author Information

Alexander Rolfes

Informazioni sul progetto

Role for installing Camunda-Modeler.

Installa
ansible-galaxy install arolfes.camundamodeler
Licenza
mit
Download
493
Proprietario