AlbanAndrieu.visualvm

Nabla roles/alban_andrieu_visualvm

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

License Travis CI Branch Donate Ansible Galaxy Platforms

Ensures that visualvm is properly installed and configured

Installation

This role requires at least Ansible v2.3.0.0. To install it, run:

Using ansible-galaxy:

$ ansible-galaxy install alban.andrieu.visualvm

Using arm (Ansible Role Manager):

$ arm install alban.andrieu.visualvm

Using git:

$ git clone https://github.com/AlbanAndrieu/ansible-visualvm.git

Documentation

More information about alban.andrieu.visualvm can be found in the TODO official alban.andrieu.visualvm documentation.

Role variables

List of default variables available in the inventory:

visualvm_enabled: yes                       # Enable module

#user: 'albandri' #please override me
user: "{{ lookup('env','USER') }}"
visualvm_owner: "{{ user }}"
visualvm_group: "{{ visualvm_owner }}"
#home: '~' #please override me
home: "{{ lookup('env','HOME') }}"
visualvm_owner_home: "{{ home }}"
visualvm_base_dir: "/usr/local/visualvm"
#visualvm_home_dir: "/usr/share/visualvm"
visualvm_home_dir: "{{ home }}/.visualvm"
visualvm_home_version: "1.3.8"
visualvm_configuration: "{{ visualvm_home_dir }}/{{ visualvm_home_version }}/repository"
visualvm_remote_hosts_enable: no

visualvm_remote_hosts:
  # Additional properties: 'serverip, servername, serverfile'.
  - {serverip: "82.231.208.223", serverhostname: "home.nabla.mobi", servername: "albandri", serverjstatdport: "2020", serverposition: "4"}

visualvm_dir_tmp: "/tmp" # or override with "{{ tempdir.stdout }} in order to have be sure to download the file"

visualvm_version: "138"

visualvm_name: "visualvm_{{ visualvm_version }}"
visualvm_archive: "{{ visualvm_name }}.zip"
visualvm_url: "https://java.net/projects/visualvm/downloads/download/release{{ visualvm_version }}/{{ visualvm_archive }}"

Detailed usage guide

Describe how to use in more detail...

Testing

$ ansible-galaxy install alban.andrieu.visualvm
$ vagrant up

Contributing

The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors and license

roles/alban_andrieu_visualvm role was written by:

License

Feedback, bug-reports, requests, ...

Are welcome!


This role is part of the Nabla project. README generated by Ansigenome.


Alban Andrieu

linkedin

About

A role for installing visualvm

Install
ansible-galaxy install AlbanAndrieu.visualvm
GitHub repository
License
gpl-3.0
Downloads
99
Owner
DevSecOps