Skip to content

an example code (playbook etc.) to setup nexus 3 with relevant repos

Notifications You must be signed in to change notification settings

shelleg/ansible-playbook-nexus3

Repository files navigation

Nexus example playbook

This playbook utilizes the original ansible-nexus3-oss by samherve which we will mostdefintelly contribute back once we complete.

What Dan Hirsch did in the dev branch fork is add support for docker hosted, virtual & proxy repos, there is still some work ... [ configuring docker privilidges, configure apache or and nginx to proxy docker registry and more ]

QuickStart

git clone git@github.com:shelleg/ansible-playbook-nexus3.git
ansible-galaxy install -r requirements.yml
Vagrant up

Upon completion:

Navigate to http://vagrant_ip:nexus_port in this example 172.16.1.160:8081 username: admin password: changeme

How to contribute ?:

  • Add support for all tyoes of repos ...
    • pypi
    • npm
    • "raw"

Customizing this for your needs

  • See the recommended playbook @-> here
  • Comments are awesome feel free to comment on code || open issues etc etc.

list

registry="172.16.1.110:5000" repos=curl http://$registry/v2/_catalog?n=100 | jq '.repositories[]' | tr -d '"' for repo in $repos; do curl http://$registry/v2/$repo/tags/list; done

About

an example code (playbook etc.) to setup nexus 3 with relevant repos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages