Skip to content

Ansible playbook to install Sonatype Nexus (free edition)

License

Notifications You must be signed in to change notification settings

onyx74/ansible-nexus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

Ansible Sonatype Nexus role. Completely independent from any package manager. Does not require root or sudo permission to run.

TODO

  • Add datadir (plus entry nexus-work={{datadir}} in conf/nexus.properties
  • Change default admin account (admin/admin123)

Role Variables

  • nexus_download_dir: download path on the control machine that will be used. Defaults to '/tmp'
  • nexus_version: Nexus version to be installed. Defaults to 'latest'
  • nexus_installation_dir: installation prefix that will be used on installation hosts. Defaults to '/usr/share'
  • nexus_work_dir: working directory, aka sonatype-work
  • nexus_port: TCP port

Dependencies

wget (on host, not on clients)

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: jhinrichsen.nexus, nexus_installation_dir: '/opt' }

License

MIT

Author Information

This playbook is heavily inspired by Alexander Ramos Jardim. Any errors are probably my fault.

About

Ansible playbook to install Sonatype Nexus (free edition)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%