Giter Club home page Giter Club logo

ansible-role-nexus's Introduction

Ansible Role Nexus

Prerequisites

  • Java 8

Usage

http://<server>:8081

The default login credentials are : admin / admin123

Example Playbook

- hosts: servers
  roles:
  - ansible-role-nexus

Main variables

## Default variables

nexus_application_port: 8081
nexus_application_host: '0.0.0.0'
nexus_user: 'nexus'
nexus_group: 'nexus'
nexus_scripts_allowCreation: false

Advanced variables

nexus_context_path: '/' . The is added almost like that: http://:/

nexus_java_home: '/usr/lib/jvm/java-8-oracle'

nexus_cleanup: 'true' or 'false'. Enable to remove the downloaded tar.gz file.

nexus_update: 'true' or 'false'. Enable to update an installed nexus.

nexus_service_restart: 'always'. Enable de configure the systemd.service Restart (no, on-success, on-failure, on-abnormal, on-watchdog, on-abort).

nexus_scripts_allowCreation: 'true' or 'false'. Default is false. Enable the creation of file on Nexus server via Nexus API (/service/rest/v1/script).

VM options

You can override some parameters in bin/nexus.vmoptions, the default values are below:

nexus_vmoptions:
- key: '-Xms'
  value: '1200M'
- key: '-Xmx'
  value: '1200M'
- key: '-XX:MaxDirectMemorySize='
  value: '2G'
- key: '-XX:LogFile='
  value: '../sonatype-work/nexus3/log/jvm.log'
- key: '-Dkaraf.data='
  value: '../sonatype-work/nexus3'
- key: '-Djava.io.tmpdir='
  value: '../sonatype-work/nexus3/tmp'

Elasticsearch customization

You can override the cluster routing allocation parameters with this kind of arborescence :

cluster_routing_allocation:
  disk:
    watermark:
      low: 5gb

License

MIT

Author Information

This role was created in 2016 by Olivier Locard on the behalf of Deveryware.

ansible-role-nexus's People

Contributors

rds13 avatar tleguern avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.