lrk.ansible_role_sjk

Ansible Role: Swiss Java Knife (SJK) (lrk.ansible-role-sjk)

Build Status
Galaxy
Ansible
Ansible
Ansible

This Ansible Role installs Swiss Java Knife (SJK).

Supported Operating Systems

  • CentOS 7

Requirements

To use Swiss Java Knife (SJK), you need:

  • Java Development Kit (JDK) installed on your machine.

Role Variables

Here are the available variables with their default values (check defaults/main.yml):

  ---
    # SJK binary version
    # Choose 'latest' or a specific version number
    # Default: latest
    # Check available versions at https://mvnrepository.com/artifact/org.gridkit.jvmtool/sjk
    sjk_version: latest

    # true: use the full sjk binary (includes mxdump)
    # false: use a lighter sjk binary (excludes mxdump)
    # Default: false
    sjk_use_sjkplus: false

    # Destination path for SJK Binary
    sjk_dest: '/opt/sjk/sjk{% if sjk_use_sjkplus is defined and sjk_use_sjkplus== true %}-plus{% endif %}-{{ sjk_version | lower }}'

    # Owner of SJK binary
    # Default: none
    sjk_owner:

    # Owner group of SJK binary
    # Default: none
    sjk_group:

    # Permissions for SJK binary
    # Default: u=r,g=r,o=r
    sjk_chmod: "u=r,g=r,o=r"
   
    # Repository to download sjk from (optional)
    # Default: https://repo1.maven.org/maven2
    sjk_repo_url: null

    # Username for repository authentication
    # Default: none
    sjk_repo_username: null

    # Password for repository authentication
    # Default: none
    sjk_repo_password: null

Dependencies

This role has no dependencies.

Example Playbook

Here’s an example of how to use this role in a playbook:

  - hosts: servers
    vars:
    roles:
      - lrk.sjk

License

Apache License Version 2.0

References

Author Information

This role was created by Lrk.

Informazioni sul progetto

An Ansible Role that install Swiss Java Knife (SJK).

Installa
ansible-galaxy install lrk.ansible_role_sjk
Licenza
apache-2.0
Download
5.3k
Proprietario